diff --git a/litellm/proxy/management_endpoints/scim/scim_v2.py b/litellm/proxy/management_endpoints/scim/scim_v2.py index bc0ba3eb46..62f4ab89c0 100644 --- a/litellm/proxy/management_endpoints/scim/scim_v2.py +++ b/litellm/proxy/management_endpoints/scim/scim_v2.py @@ -96,7 +96,7 @@ async def get_users( ) # Convert to SCIM format - scim_users = [] + scim_users: List[SCIMUser] = [] for user in users: scim_user = await ScimTransformations.transform_litellm_user_to_scim_user( user=user diff --git a/litellm/types/proxy/management_endpoints/scim_v2.py b/litellm/types/proxy/management_endpoints/scim_v2.py index 5ae83293c2..0c2f16e025 100644 --- a/litellm/types/proxy/management_endpoints/scim_v2.py +++ b/litellm/types/proxy/management_endpoints/scim_v2.py @@ -67,7 +67,7 @@ class SCIMListResponse(BaseModel): totalResults: int startIndex: Optional[int] = 1 itemsPerPage: Optional[int] = 10 - Resources: List[Union[SCIMUser, SCIMGroup]] + Resources: Union[List[SCIMUser], List[SCIMGroup]] # SCIM PATCH Operation Models