From 9ae1ea47048759e260c5c6549ccf75e765993819 Mon Sep 17 00:00:00 2001 From: lior-k Date: Thu, 18 Jun 2026 02:25:46 +0300 Subject: [PATCH] chore(guardrails): annotate Alice WonderFence __init__ **kwargs for basedpyright The basedpyright reportMissingParameterType gate flagged the lone unannotated parameter in the new module (**kwargs on WonderFenceGuardrail.__init__), one over the codebase ceiling. Annotate it **kwargs: Any; within the file's any-discipline budget. No behavior change. --- .../guardrail_hooks/alice_wonderfence/alice_wonderfence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/alice_wonderfence/alice_wonderfence.py b/litellm/proxy/guardrails/guardrail_hooks/alice_wonderfence/alice_wonderfence.py index 53be48ccae6..c2b0b503e6a 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/alice_wonderfence/alice_wonderfence.py +++ b/litellm/proxy/guardrails/guardrail_hooks/alice_wonderfence/alice_wonderfence.py @@ -76,7 +76,7 @@ class WonderFenceGuardrail(CustomGuardrail): Union[GuardrailEventHooks, list[GuardrailEventHooks], Mode] | None ) = None, default_on: bool = True, - **kwargs, + **kwargs: Any, ) -> None: """Initialize the Alice WonderFence guardrail.