mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
style: apply ruff format to router settings merge
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
974b331a4d
commit
95e09db661
1 changed files with 1 additions and 3 deletions
|
|
@ -16346,9 +16346,7 @@ async def update_config(
|
|||
existing = await _read_section("router_settings")
|
||||
before_router_settings: Final = copy.deepcopy(existing)
|
||||
typed_router_settings: Final = (
|
||||
config_info.router_settings.dict(exclude_none=True)
|
||||
if config_info.router_settings is not None
|
||||
else {}
|
||||
config_info.router_settings.dict(exclude_none=True) if config_info.router_settings is not None else {}
|
||||
)
|
||||
raw_router_settings_without_none: Final = {
|
||||
key: value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue