File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class Op(str, Enum):
52
52
describing the target of the operation."""
53
53
54
54
def _validate_mutability (
55
- self , resource_class : type [BaseModel ], field_name : str
55
+ self , resource_class : type [Resource [ Any ] ], field_name : str
56
56
) -> None :
57
57
"""Validate mutability constraints."""
58
58
# RFC 7644 Section 3.5.2: "Servers should be tolerant of schema extensions"
@@ -73,7 +73,7 @@ def _validate_mutability(
73
73
raise ValueError (Error .make_mutability_error ().detail )
74
74
75
75
def _validate_required_attribute (
76
- self , resource_class : type [BaseModel ], field_name : str
76
+ self , resource_class : type [Resource [ Any ] ], field_name : str
77
77
) -> None :
78
78
"""Validate required attribute constraints for remove operations."""
79
79
# RFC 7644 Section 3.5.2.3: Only validate for remove operations
You can’t perform that action at this time.
0 commit comments