mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-11 03:38:38 +00:00
style(proxy): satisfy type-discipline gate on the null-strip comprehension
Final binding + documented mutable-ok suppression for the per-request parse result, as used elsewhere in proxy_server.py.
This commit is contained in:
parent
856efae1e5
commit
3c31d9b328
1 changed files with 1 additions and 1 deletions
|
|
@ -6803,7 +6803,7 @@ class ProxyConfig:
|
|||
if not isinstance(parsed, dict) or not parsed:
|
||||
return None
|
||||
|
||||
stripped = {k: v for k, v in parsed.items() if v is not None}
|
||||
stripped: Final = {k: v for k, v in parsed.items() if v is not None} # mutable-ok: per-request parse of stored key/team settings, consumed downstream as a plain dict
|
||||
return stripped or None
|
||||
|
||||
async def get_hierarchical_router_settings(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue