mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-31 06:56:59 +00:00
fix: suppress LIT001 on mutated model_group_cache dict annotation
This commit is contained in:
parent
9c87124d22
commit
698d05dfff
1 changed files with 1 additions and 1 deletions
|
|
@ -14084,7 +14084,7 @@ class Router:
|
|||
)
|
||||
|
||||
## get model group RPM ##
|
||||
model_group_cache: dict[str, int] | None = None
|
||||
model_group_cache: dict[str, int] | None = None # mutable-ok: incremented below
|
||||
if _any_deployment_has_rpm:
|
||||
dt = get_utc_datetime()
|
||||
current_minute = dt.strftime("%H-%M")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue