Skip to content

Commit 10c68f7

Browse files
committed
chore: dependencies update
1 parent 8585116 commit 10c68f7

7 files changed

Lines changed: 118 additions & 123 deletions

File tree

poetry.lock

Lines changed: 108 additions & 119 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ funding = "https://github.com/sponsors/yaal-coop"
3131
[tool.poetry.dependencies]
3232
python = "^3.10"
3333
click = "^8.1.7"
34-
scim2-client = "^0.1.10"
34+
scim2-client = "^0.2.0"
3535
scim2-tester = "^0.1.3"
3636
sphinx-click-rst-to-ansi-formatter = "^0.1.0"
3737
pydanclick = "^0.3.0"

scim2_cli/create.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
def create_payload(client, payload, indent, headers):
1818
try:
19-
response = client.create(payload, headers=split_headers(headers))
19+
response = client.create(
20+
payload, headers=split_headers(headers), raise_scim_errors=False
21+
)
2022

2123
except SCIMClientError as scim_exc:
2224
message = str(scim_exc)

scim2_cli/delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def delete_cli(ctx, resource_type, id, headers, indent):
4343

4444
try:
4545
response = ctx.obj["client"].delete(
46-
resource_type, id, headers=split_headers(headers)
46+
resource_type, id, headers=split_headers(headers), raise_scim_errors=False
4747
)
4848

4949
except SCIMClientError as scim_exc:

scim2_cli/query.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ def query_cli(
117117
search_request=payload,
118118
check_request_payload=check_request_payload,
119119
headers=split_headers(headers),
120+
raise_scim_errors=False,
120121
)
121122

122123
except SCIMClientError as scim_exc:

scim2_cli/replace.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616

1717
def replace_payload(client, payload, indent, headers):
1818
try:
19-
response = client.replace(payload, headers=split_headers(headers))
19+
response = client.replace(
20+
payload, headers=split_headers(headers), raise_scim_errors=False
21+
)
2022

2123
except SCIMClientError as scim_exc:
2224
message = str(scim_exc)

scim2_cli/search.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def search_cli(
9797
search_request=payload,
9898
check_request_payload=check_request_payload,
9999
headers=split_headers(headers),
100+
raise_scim_errors=False,
100101
)
101102

102103
except SCIMClientError as scim_exc:

0 commit comments

Comments
 (0)