From ffc673da09c25811646a2738df93a63caddb7c80 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Fri, 20 Feb 2026 21:40:23 -0800 Subject: [PATCH] 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 --- litellm/proxy/management_endpoints/organization_endpoints.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/proxy/management_endpoints/organization_endpoints.py b/litellm/proxy/management_endpoints/organization_endpoints.py index 43c19cff721..1c19c4ef313 100644 --- a/litellm/proxy/management_endpoints/organization_endpoints.py +++ b/litellm/proxy/management_endpoints/organization_endpoints.py @@ -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,