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 5ad82de commit 0a6ffbfCopy full SHA for 0a6ffbf
1 file changed
scim2_models/rfc7643/schema.py
@@ -3,6 +3,7 @@
3
from enum import Enum
4
from typing import Annotated
5
from typing import Any
6
+from typing import List # noqa : UP005
7
from typing import Literal
8
from typing import Optional
9
from typing import Union
@@ -196,7 +197,8 @@ def from_python(cls, pytype) -> str:
196
197
"""A multi-valued array of JSON strings that indicate the SCIM resource
198
types that may be referenced."""
199
- sub_attributes: Annotated[Optional[list["Attribute"]], Mutability.read_only] = None
200
+ # for python 3.9 and 3.10 compatibility, this should be 'list' and not 'List'
201
+ sub_attributes: Annotated[Optional[List["Attribute"]], Mutability.read_only] = None # noqa: UP006
202
"""When an attribute is of type "complex", "subAttributes" defines a set of
203
sub-attributes."""
204
0 commit comments