mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
style(team_endpoints): apply ruff format
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
e5582b65c9
commit
df9b9f9ffb
1 changed files with 3 additions and 1 deletions
|
|
@ -3318,7 +3318,9 @@ async def team_member_delete(
|
|||
existing_user_rows: Final = await member_tx.litellm_usertable.find_many(where=key_val)
|
||||
|
||||
# Also clean up any existing team membership rows for this user and team
|
||||
user_ids_to_delete: Final = addressed_user_ids.union(user.user_id for user in existing_user_rows if user.user_id)
|
||||
user_ids_to_delete: Final = addressed_user_ids.union(
|
||||
user.user_id for user in existing_user_rows if user.user_id
|
||||
)
|
||||
|
||||
# A user row can outlive its roster entry, and until the team is off user.teams the user
|
||||
# still sees it and still fails key creation against it, so removal has to clear it too
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue