mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-29 01:42:19 +00:00
style(auth): format session token grant refresh
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
5a9805c102
commit
d1fdf64aa8
1 changed files with 4 additions and 1 deletions
|
|
@ -2373,7 +2373,10 @@ async def _refresh_session_token_team_grants(
|
|||
except HTTPException:
|
||||
return valid_token
|
||||
return valid_token.model_copy(
|
||||
update={"team_models": list(team_obj.models), "team_alias": team_obj.team_alias} # mutable-ok: auth model requires a fresh list
|
||||
update={ # mutable-ok: model_copy requires a mutable update mapping
|
||||
"team_models": list(team_obj.models), # mutable-ok: auth model requires a fresh list
|
||||
"team_alias": team_obj.team_alias,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue