scim2-client 0.5.0__py3-none-any.whl → 0.5.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- scim2_client/client.py +4 -2
- {scim2_client-0.5.0.dist-info → scim2_client-0.5.2.dist-info}/METADATA +3 -2
- {scim2_client-0.5.0.dist-info → scim2_client-0.5.2.dist-info}/RECORD +5 -5
- {scim2_client-0.5.0.dist-info → scim2_client-0.5.2.dist-info}/WHEEL +1 -1
- {scim2_client-0.5.0.dist-info → scim2_client-0.5.2.dist-info}/licenses/LICENSE.md +0 -0
scim2_client/client.py
CHANGED
|
@@ -265,7 +265,6 @@ class SCIMClient:
|
|
|
265
265
|
if raise_scim_errors is None:
|
|
266
266
|
raise_scim_errors = self.raise_scim_errors
|
|
267
267
|
|
|
268
|
-
self._check_status_codes(status_code, expected_status_codes)
|
|
269
268
|
self._check_content_types(headers)
|
|
270
269
|
|
|
271
270
|
# In addition to returning an HTTP response code, implementers MUST return
|
|
@@ -283,6 +282,7 @@ class SCIMClient:
|
|
|
283
282
|
check_response_payload = self.check_response_payload
|
|
284
283
|
|
|
285
284
|
if not check_response_payload:
|
|
285
|
+
self._check_status_codes(status_code, expected_status_codes)
|
|
286
286
|
return response_payload
|
|
287
287
|
|
|
288
288
|
if (
|
|
@@ -294,6 +294,8 @@ class SCIMClient:
|
|
|
294
294
|
raise SCIMResponseErrorObject(obj=error.detail, source=error)
|
|
295
295
|
return error
|
|
296
296
|
|
|
297
|
+
self._check_status_codes(status_code, expected_status_codes)
|
|
298
|
+
|
|
297
299
|
if not expected_types:
|
|
298
300
|
return response_payload
|
|
299
301
|
|
|
@@ -556,7 +558,7 @@ class SCIMClient:
|
|
|
556
558
|
extension = Extension.from_schema(schema_obj)
|
|
557
559
|
extensions.append(extension)
|
|
558
560
|
if extensions:
|
|
559
|
-
model = model[tuple(extensions)]
|
|
561
|
+
model = model[Union[tuple(extensions)]]
|
|
560
562
|
resource_models.append(model)
|
|
561
563
|
|
|
562
564
|
return tuple(resource_models)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: scim2-client
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Pythonically build SCIM requests and parse SCIM responses
|
|
5
5
|
Project-URL: documentation, https://scim2-client.readthedocs.io
|
|
6
6
|
Project-URL: repository, https://github.com/python-scim/scim2-client
|
|
@@ -208,6 +208,7 @@ License: Apache License
|
|
|
208
208
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
209
209
|
See the License for the specific language governing permissions and
|
|
210
210
|
limitations under the License.
|
|
211
|
+
License-File: LICENSE.md
|
|
211
212
|
Keywords: api,httpx,provisioning,rfc7643,rfc7644,scim,scim2
|
|
212
213
|
Classifier: Development Status :: 3 - Alpha
|
|
213
214
|
Classifier: Environment :: Web Environment
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
scim2_client/__init__.py,sha256=l0pyBLiTpFA68ao98PqQLT_Xx0mw8BHumwrIHYCWa_M,845
|
|
2
|
-
scim2_client/client.py,sha256=
|
|
2
|
+
scim2_client/client.py,sha256=jSj_g8qjpCFF1sKd-STJNPjfdHN_zjGAkYBes9CveOY,46374
|
|
3
3
|
scim2_client/errors.py,sha256=FVmRXsaZLn1VZhJ3dSDs4IqycuU92AEun9JWWMseVO8,4397
|
|
4
4
|
scim2_client/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
scim2_client/engines/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
scim2_client/engines/httpx.py,sha256=L39ZZHjqe43uIQpgh_r_maqM2gkf3_Rk6d8MeNe57gk,17781
|
|
7
7
|
scim2_client/engines/werkzeug.py,sha256=DmUBWytoWPehcrgBpGzlRJLCT7mrAW_VWSQ6BHylwCo,10800
|
|
8
|
-
scim2_client-0.5.
|
|
9
|
-
scim2_client-0.5.
|
|
10
|
-
scim2_client-0.5.
|
|
11
|
-
scim2_client-0.5.
|
|
8
|
+
scim2_client-0.5.2.dist-info/METADATA,sha256=hmKozbJhq6eZxe_rFfspw-hHsD9H1pQmfsHMm_CTTdk,16986
|
|
9
|
+
scim2_client-0.5.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
10
|
+
scim2_client-0.5.2.dist-info/licenses/LICENSE.md,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
+
scim2_client-0.5.2.dist-info/RECORD,,
|
|
File without changes
|