mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-11 08:38:24 +00:00
fix(router): use read-only type annotations to satisfy LIT001
This commit is contained in:
parent
b6b922ad73
commit
4eddc3705a
1 changed files with 5 additions and 5 deletions
|
|
@ -10422,11 +10422,11 @@ class Router:
|
|||
async def _pre_call_checks_async(
|
||||
self,
|
||||
model: str,
|
||||
healthy_deployments: list,
|
||||
messages: list[dict[str, str]] | None = None,
|
||||
input: str | list | None = None,
|
||||
request_kwargs: dict | None = None,
|
||||
) -> list[dict]:
|
||||
healthy_deployments: Sequence[Mapping[str, Any]],
|
||||
messages: Sequence[Mapping[str, str]] | None = None,
|
||||
input: str | Sequence[Any] | None = None,
|
||||
request_kwargs: Mapping[str, Any] | None = None,
|
||||
) -> Sequence[Mapping[str, Any]]:
|
||||
"""
|
||||
Async wrapper around _pre_call_checks_sync.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue