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
You need to give to indicate to :class:`~scim2_client.SCIMClient` all the different :class:`~scim2_models.Resource` types that you will need to manipulate with the :code:`resource_types` parameter.
22
+
You need to give to indicate to :class:`~scim2_client.BaseSCIMClient` all the different :class:`~scim2_models.Resource` types that you will need to manipulate with the :code:`resource_models` parameter.
23
23
This is needed so scim2-client will be able to guess which resource type to instante when an arbitrary payload is met.
24
24
25
25
.. todo::
26
26
27
27
We plan to implement the automatic discovery of SCIM server resources,
28
-
so they can dynamically be used without explicitly passing them with the :code:`resource_types` parameter.
28
+
so they can dynamically be used without explicitly passing them with the :code:`resource_models` parameter.
29
29
30
30
Performing actions
31
31
==================
32
32
33
33
scim2-client allows your application to interact with a SCIM server as described in :rfc:`RFC7644 §3 <7644#section-3>`, so you can read and manage the resources.
If :data:`True` (the default) a :class:`~pydantic.ValidationError` will be raised if the server response does not respect the SCIM standard.
72
72
If :data:`False` the server response is returned as-is.
73
73
- :code:`expected_status_codes`: The list of expected status codes in the response.
74
74
If :data:`None` any status code is accepted.
75
75
If an unexpected status code is returned, a :class:`~scim2_client.errors.UnexpectedStatusCode` exception is raised.
76
-
- :code:`raise_scim_errors`: If :data:`True` (the default) and the server returned an :class:`~scim2_models.Error` object, a :class:`~scim2_client.SCIMResponseErrorObject` exception will be raised.
76
+
- :paramref:`~scim2_client.BaseSCIMClient.raise_scim_errors`: If :data:`True` (the default) and the server returned an :class:`~scim2_models.Error` object, a :class:`~scim2_client.SCIMResponseErrorObject` exception will be raised.
0 commit comments