From 1ff3afc1aef022ffc0d6759cd944063142f70768 Mon Sep 17 00:00:00 2001 From: lj Date: Fri, 31 May 2024 11:37:57 +0800 Subject: [PATCH] Fix class config deprecation warning --- litellm/proxy/_types.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litellm/proxy/_types.py b/litellm/proxy/_types.py index 85984061940..6df6b4fe4e0 100644 --- a/litellm/proxy/_types.py +++ b/litellm/proxy/_types.py @@ -839,8 +839,7 @@ class LiteLLM_TeamMemberTable(LiteLLM_BudgetTable): team_id: Optional[str] = None budget_id: Optional[str] = None - class Config: - protected_namespaces = () + model_config = ConfigDict(protected_namespaces=()) class NewOrganizationRequest(LiteLLM_BudgetTable):