diff --git a/pydantic_scim2/responses.py b/pydantic_scim2/responses.py index e745220..1b1af36 100644 --- a/pydantic_scim2/responses.py +++ b/pydantic_scim2/responses.py @@ -80,7 +80,7 @@ def for_users( users: List[User], total_results: int, start_index: int = 0, - items_per_page: int | None = None, + items_per_page: Optional[int] = None, ) -> "ListResponse": return cls( Resources=users, @@ -95,7 +95,7 @@ def for_groups( groups: List[Group], total_results: int, start_index: int = 0, - items_per_page: int | None = None, + items_per_page: Optional[int] = None, ) -> "ListResponse": return cls( Resources=groups,