mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix linting errors when adding a new team member
This commit is contained in:
parent
0ad5f58930
commit
20840eaad3
2 changed files with 6 additions and 1 deletions
|
@ -103,7 +103,7 @@ async def add_new_member(
|
|||
elif len(existing_user_row) == 1:
|
||||
user_info = existing_user_row[0]
|
||||
_returned_user = await prisma_client.db.litellm_usertable.update(
|
||||
where={"user_id": user_info.user_id},
|
||||
where={"user_id": user_info.user_id}, # type: ignore
|
||||
data={"teams": {"push": [team_id]}},
|
||||
)
|
||||
returned_user = LiteLLM_UserTable(**_returned_user.model_dump())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue