scim2-client 0.4.0__tar.gz → 0.4.1__tar.gz
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-0.4.0 → scim2_client-0.4.1}/PKG-INFO +1 -1
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/changelog.rst +11 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/pyproject.toml +1 -1
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/client.py +1 -1
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/engines/werkzeug.py +6 -1
- {scim2_client-0.4.0 → scim2_client-0.4.1}/uv.lock +1 -1
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.github/FUNDING.yml +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.github/workflows/release.yml +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.github/workflows/tests.yaml +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.gitignore +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.pre-commit-config.yaml +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/.readthedocs.yml +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/LICENSE.md +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/README.md +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/__init__.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/conf.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/contributing.rst +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/index.rst +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/reference.rst +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/doc/tutorial.rst +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/__init__.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/engines/__init__.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/engines/httpx.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/errors.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/scim2_client/py.typed +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/__init__.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/conftest.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/engines/__init__.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/engines/test_httpx.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/engines/test_werkzeug.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_create.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_delete.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_query.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_replace.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_search.py +0 -0
- {scim2_client-0.4.0 → scim2_client-0.4.1}/tests/test_utils.py +0 -0
|
@@ -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,6 +1,17 @@
|
|
|
1
1
|
Changelog
|
|
2
2
|
=========
|
|
3
3
|
|
|
4
|
+
[0.4.1] - 2024-12-02
|
|
5
|
+
--------------------
|
|
6
|
+
|
|
7
|
+
Added
|
|
8
|
+
^^^^^
|
|
9
|
+
- :class:`~scim2_client.engines.werkzeug.TestSCIMClient` can handle absolute URLs.
|
|
10
|
+
|
|
11
|
+
Changed
|
|
12
|
+
^^^^^^^
|
|
13
|
+
- Avoid to initialize :paramref:`~scim2_client.SCIMClient.resource_models` with configuration resources.
|
|
14
|
+
|
|
4
15
|
[0.4.0] - 2024-12-02
|
|
5
16
|
--------------------
|
|
6
17
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "scim2-client"
|
|
7
|
-
version = "0.4.
|
|
7
|
+
version = "0.4.1"
|
|
8
8
|
description = "Pythonically build SCIM requests and parse SCIM responses"
|
|
9
9
|
authors = [{name="Yaal Coop", email="contact@yaal.coop"}]
|
|
10
10
|
license = {file = "LICENSE.md"}
|
|
@@ -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
|
|
@@ -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,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|