You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: scim2_models/base.py
+73-19Lines changed: 73 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -233,9 +233,9 @@ class Context(Enum):
233
233
Should be used for clients building a payload for a resource replacement request,
234
234
and servers validating resource replacement request payloads.
235
235
236
-
- When used for serialization, it will not dump attributes annotated with :attr:`~scim2_models.Mutability.read_only` and :attr:`~scim2_models.Mutability.immutable`.
236
+
- When used for serialization, it will not dump attributes annotated with :attr:`~scim2_models.Mutability.read_only`.
237
237
- When used for validation, it will ignore attributes annotated with :attr:`scim2_models.Mutability.read_only` and raise a :class:`~pydantic.ValidationError`:
238
-
- when finding attributes annotated with :attr:`~scim2_models.Mutability.immutable`,
238
+
- when finding attributes annotated with :attr:`~scim2_models.Mutability.immutable` different than :paramref:`~scim2_models.BaseModel.model_validate.original`:
239
239
- when attributes annotated with :attr:`Required.true <scim2_models.Required.true>` are missing on null.
"""Navigate through attributes and sub-attributes of type ComplexAttribute, and mark them with a '_schema' attribute. '_schema' will later be used by 'get_attribute_urn'."""
646
+
"""Navigate through attributes and sub-attributes of type ComplexAttribute, and mark them with a '_schema' attribute.
647
+
648
+
'_schema' will later be used by 'get_attribute_urn'.
0 commit comments