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:
Bytechoreographer 2026-06-25 12:04:23 +08:00
parent ab132cd45d
commit 00e30f3cfb

View file

@ -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"},
]