mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-21 00:21:49 +00:00
refactor(types): drop nonessential TypedDict docstrings
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
f784681bfa
commit
8ee7591fc8
4 changed files with 3 additions and 5 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue