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: doc/changelog.rst
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Changelog
7
7
Added
8
8
^^^^^
9
9
- Proper path validation for :attr:`~scim2_models.SearchRequest.attributes`, :attr:`~scim2_models.SearchRequest.excluded_attributes` and :attr:`~scim2_models.SearchRequest.sort_by`.
Copy file name to clipboardExpand all lines: doc/tutorial.rst
+43-3Lines changed: 43 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -403,9 +403,49 @@ This can be used by client applications that intends to dynamically discover ser
403
403
:language: json
404
404
:caption: schema-group.json
405
405
406
-
Bulk and Patch operations
407
-
=========================
406
+
Patch operations
407
+
================
408
+
409
+
:class:`~scim2_models.PatchOp` allows you to apply patch operations to modify SCIM resources.
410
+
The :meth:`~scim2_models.PatchOp.patch` method applies operations in sequence and returns whether the resource was modified. The return code is a boolean indicating whether the object have been modified by the operations.
411
+
412
+
.. note::
413
+
:class:`~scim2_models.PatchOp` takes a type parameter that should be the class of the resource
0 commit comments