mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-23 00:41:40 +00:00
chore: annotate **kwargs to satisfy ANN003 strict rule
Removing 'Any' in the prior commit left **kwargs untyped, which tripped ANN003 (missing type annotation on **kwargs). Using 'object' threads the strict-rule budget cleanly.
This commit is contained in:
parent
76d00b1574
commit
bb74e4e562
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class ConductGuardrail(CustomGuardrail):
|
|||
fail_mode: FailMode = "fail_closed",
|
||||
tool_name: str = "llm_call",
|
||||
timeout: float = 8.0,
|
||||
**kwargs,
|
||||
**kwargs: object,
|
||||
) -> None:
|
||||
kwargs.setdefault("supported_event_hooks", list(self.get_supported_event_hooks()))
|
||||
super().__init__(**kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue