fix SCIM linting error

This commit is contained in:
Ishaan Jaff 2025-04-16 18:59:39 -07:00
parent 62c43efa15
commit 721e1f6f53
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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