mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
Merge branch 'main' into fix/reset-end-user-budget-by-duration
This commit is contained in:
commit
9f12cba8bc
231 changed files with 6692 additions and 1224 deletions
|
@ -1417,7 +1417,8 @@ class PrismaClient:
|
|||
if key_val is None:
|
||||
key_val = {"user_id": user_id}
|
||||
response = await self.db.litellm_usertable.find_unique( # type: ignore
|
||||
where=key_val # type: ignore
|
||||
where=key_val, # type: ignore
|
||||
include={"organization_memberships": True},
|
||||
)
|
||||
elif query_type == "find_all" and key_val is not None:
|
||||
response = await self.db.litellm_usertable.find_many(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue