diff --git a/litellm/integrations/otel/logger.py b/litellm/integrations/otel/logger.py index 607611eb971..6b673967427 100644 --- a/litellm/integrations/otel/logger.py +++ b/litellm/integrations/otel/logger.py @@ -142,7 +142,7 @@ def _request_trace_links(context: Context | None) -> tuple[Link, ...] | None: class _CustomLoggerOptions(TypedDict, total=False, extra_items=object): - """Keyword arguments forwarded untouched to ``CustomLogger`` and ``OpenTelemetryV2Config``.""" + pass class _LLMCallSpan: diff --git a/litellm/proxy/guardrails/guardrail_hooks/alice/alice.py b/litellm/proxy/guardrails/guardrail_hooks/alice/alice.py index da97359b299..bcc35e7a22f 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/alice/alice.py +++ b/litellm/proxy/guardrails/guardrail_hooks/alice/alice.py @@ -92,7 +92,7 @@ class AliceVerdict(TypedDict): class _CustomGuardrailOptions(TypedDict, total=False, extra_items=object): - """Base-class constructor options this guardrail forwards untouched to CustomGuardrail.""" + pass class AliceGuardrailMissingSecrets(Exception): diff --git a/litellm/proxy/guardrails/guardrail_hooks/grayswan/grayswan.py b/litellm/proxy/guardrails/guardrail_hooks/grayswan/grayswan.py index 14f60ce09a0..cc3ed7172b6 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/grayswan/grayswan.py +++ b/litellm/proxy/guardrails/guardrail_hooks/grayswan/grayswan.py @@ -39,7 +39,7 @@ class _GraySwanMonitorResponse(TypedDict): class _CustomGuardrailOptions(TypedDict, total=False, extra_items=object): - """Base-class constructor options this guardrail forwards untouched to CustomGuardrail.""" + pass class _GraySwanMonitorHTTPResponse(Protocol): diff --git a/litellm/proxy/guardrails/guardrail_hooks/promptguard/promptguard.py b/litellm/proxy/guardrails/guardrail_hooks/promptguard/promptguard.py index 5ab47dfc3e1..f51f59ab0d1 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/promptguard/promptguard.py +++ b/litellm/proxy/guardrails/guardrail_hooks/promptguard/promptguard.py @@ -55,8 +55,6 @@ class PromptGuardHTTPView(TypedDict): class _CustomGuardrailOptions(ExtraItemsTypedDict, total=False, extra_items=object): - """Base-class constructor options this guardrail forwards untouched to CustomGuardrail.""" - supported_event_hooks: ReadOnly[list[GuardrailEventHooks] | None]