mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
fix: use include user:True instead of nested select for Prisma Python compat
Prisma Python client does not support nested select within include. Use include user:True to fetch the full user object; model_validator extracts user_email from it. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4597d34344
commit
ffc673da09
1 changed files with 1 additions and 3 deletions
|
|
@ -723,9 +723,7 @@ async def info_organization(organization_id: str):
|
|||
"litellm_budget_table": True,
|
||||
"members": {
|
||||
"include": {
|
||||
"user": {
|
||||
"select": {"user_email": True},
|
||||
}
|
||||
"user": True,
|
||||
}
|
||||
},
|
||||
"teams": True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue