mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
style: run ruff format on sso env_fallback comprehension
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
2d2e7464ad
commit
60a6930f11
1 changed files with 1 additions and 5 deletions
|
|
@ -779,11 +779,7 @@ async def get_sso_settings():
|
|||
|
||||
# Build SSO config from database values, falling back to the environment so
|
||||
# env-configured SSO still populates the UI. Stored DB values win on overlap.
|
||||
env_fallback = {
|
||||
field: val
|
||||
for field, env_var in _SSO_FIELD_TO_ENV_VAR.items()
|
||||
if (val := os.environ.get(env_var))
|
||||
}
|
||||
env_fallback = {field: val for field, env_var in _SSO_FIELD_TO_ENV_VAR.items() if (val := os.environ.get(env_var))}
|
||||
merged_sso_settings = {**env_fallback, **decrypted_sso_settings_dict}
|
||||
|
||||
sso_config = SSOConfig(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue