Skip to content

Commit 3e7500c

Browse files
committed
chore: bump to scim2-models 0.2.3
In this version, SearcRequest attributes and excluded_attributes are mutually exclusive, so scim2-server does not have to check this situation explicitly.
1 parent dd3e039 commit 3e7500c

3 files changed

Lines changed: 8 additions & 11 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ classifiers = [
2828

2929
requires-python = ">= 3.11"
3030
dependencies = [
31-
"scim2-models>=0.2.0",
31+
"scim2-models>=0.2.3",
3232
"werkzeug>=3.0.3",
3333
"scim2-filter-parser>=0.7.0",
3434
]

scim2_server/provider.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,6 @@ def build_search_request(self, request: Request) -> SearchRequest:
298298

299299
def query_resource(self, request: Request, resource: Optional[ResourceType]):
300300
search_request = self.build_search_request(request)
301-
if search_request.attributes and search_request.excluded_attributes:
302-
# RFC 7644, Section 3.4.2.5
303-
raise BadRequest
304301

305302
kwargs = {}
306303
if resource is not None:

uv.lock

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

0 commit comments

Comments
 (0)