We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a97fa6 commit f4e5949Copy full SHA for f4e5949
scim2_models/resources/resource.py
@@ -1,4 +1,3 @@
1
-import sys
2
from datetime import datetime
3
from typing import TYPE_CHECKING
4
from typing import Annotated
@@ -103,11 +102,7 @@ def from_schema(cls, schema: "Schema") -> type["Extension"]:
103
102
return _make_python_model(schema, cls)
104
105
106
-# TypeVar with default parameter is available in Python 3.13+
107
-if sys.version_info >= (3, 13):
108
- AnyExtension = TypeVar("AnyExtension", bound="Extension", default="Extension")
109
-else: # pragma: no cover
110
- AnyExtension = TypeVar("AnyExtension", bound="Extension")
+AnyExtension = TypeVar("AnyExtension", bound="Extension")
111
112
_PARAMETERIZED_CLASSES: dict[tuple[type, tuple[Any, ...]], type] = {}
113
0 commit comments