scim2-client 0.4.0__py3-none-any.whl → 0.4.1__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 +1 -1
- scim2_client/engines/werkzeug.py +6 -1
- {scim2_client-0.4.0.dist-info → scim2_client-0.4.1.dist-info}/METADATA +1 -1
- {scim2_client-0.4.0.dist-info → scim2_client-0.4.1.dist-info}/RECORD +6 -6
- {scim2_client-0.4.0.dist-info → scim2_client-0.4.1.dist-info}/WHEEL +0 -0
- {scim2_client-0.4.0.dist-info → scim2_client-0.4.1.dist-info}/licenses/LICENSE.md +0 -0
scim2_client/client.py
CHANGED
|
@@ -158,7 +158,7 @@ class SCIMClient:
|
|
|
158
158
|
check_response_payload: bool = True,
|
|
159
159
|
raise_scim_errors: bool = True,
|
|
160
160
|
):
|
|
161
|
-
self.resource_models = tuple(
|
|
161
|
+
self.resource_models = tuple(resource_models or [])
|
|
162
162
|
self.resource_types = resource_types
|
|
163
163
|
self.service_provider_config = service_provider_config
|
|
164
164
|
self.check_request_payload = check_request_payload
|
scim2_client/engines/werkzeug.py
CHANGED
|
@@ -72,12 +72,17 @@ class TestSCIMClient(BaseSyncSCIMClient):
|
|
|
72
72
|
self.scim_prefix = scim_prefix
|
|
73
73
|
|
|
74
74
|
def make_url(self, url: Optional[str]) -> str:
|
|
75
|
+
url = url or ""
|
|
75
76
|
prefix = (
|
|
76
77
|
self.scim_prefix[:-1]
|
|
77
78
|
if self.scim_prefix.endswith("/")
|
|
78
79
|
else self.scim_prefix
|
|
79
80
|
)
|
|
80
|
-
return
|
|
81
|
+
return (
|
|
82
|
+
url
|
|
83
|
+
if url.startswith("http://") or url.startswith("https://")
|
|
84
|
+
else f"{prefix}{url}"
|
|
85
|
+
)
|
|
81
86
|
|
|
82
87
|
def create(
|
|
83
88
|
self,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: scim2-client
|
|
3
|
-
Version: 0.4.
|
|
3
|
+
Version: 0.4.1
|
|
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
|
|
@@ -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=8M_3truHEpFFlmnVy3fk7Hl67duS6iQlBMuKRoep5Ew,44048
|
|
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
|
-
scim2_client/engines/werkzeug.py,sha256=
|
|
8
|
-
scim2_client-0.4.
|
|
9
|
-
scim2_client-0.4.
|
|
10
|
-
scim2_client-0.4.
|
|
11
|
-
scim2_client-0.4.
|
|
7
|
+
scim2_client/engines/werkzeug.py,sha256=mVpK0GjmD4fu0jI0W2zqrn7GjBFZ0AjNk2gBO5415Gk,10230
|
|
8
|
+
scim2_client-0.4.1.dist-info/METADATA,sha256=k3S_PnzmSlWiNE2TMZgpt4gZf1Nv5Pv-7xGVSAFqHpQ,16961
|
|
9
|
+
scim2_client-0.4.1.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
|
10
|
+
scim2_client-0.4.1.dist-info/licenses/LICENSE.md,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
11
|
+
scim2_client-0.4.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|