mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
fix(proxy): use builtin generics for MODEL_LIST_ORDER annotation
Resolves the UP006 strict-rule budget overflow that failed the lint CI check; List[Dict[str, str]] became list[dict[str, str]].
This commit is contained in:
parent
ab132cd45d
commit
00e30f3cfb
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ from litellm.proxy.common_utils.encrypt_decrypt_utils import (
|
|||
encrypt_value_helper,
|
||||
)
|
||||
|
||||
MODEL_LIST_ORDER: Final[List[Dict[str, str]]] = [
|
||||
MODEL_LIST_ORDER: Final[list[dict[str, str]]] = [
|
||||
{"created_at": "asc"},
|
||||
{"model_id": "asc"},
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue