mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
style(router): use str | None to satisfy the UP045 strict-rule budget
This commit is contained in:
parent
dcbff0d7b3
commit
0d9ccbab94
1 changed files with 1 additions and 1 deletions
|
|
@ -7711,7 +7711,7 @@ class Router:
|
|||
len(config.available_models),
|
||||
)
|
||||
|
||||
def _remove_deployment_from_strategy_registries(self, model_name: str, litellm_model: Optional[str]) -> None:
|
||||
def _remove_deployment_from_strategy_registries(self, model_name: str, litellm_model: str | None) -> None:
|
||||
"""
|
||||
Drop a model_name's strategy-router registration (auto / complexity /
|
||||
adaptive / quality) when its deployment is removed from the router.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue