File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88^^^^^^^
99- Python 3.11 is now the minimum supported version.
1010
11+ Fixed
12+ ^^^^^
13+ - Without ``--schemas ``, the schemas and the resource types are discovered on the server
14+ again with scim2-client 0.9. Only ``User `` and ``Group `` were known, without their
15+ extensions.
16+
1117Security
1218^^^^^^^^
1319- The control characters of what the server sends are escaped before being displayed, so
Original file line number Diff line number Diff line change 44import click
55from httpx2 import Client
66from scim2_client .engines .httpx2 import SyncSCIMClient
7- from scim2_models import Group
87from scim2_models import ListResponse
98from scim2_models import Resource
109from scim2_models import ResourceType
1110from scim2_models import Schema
1211from scim2_models import ServiceProviderConfig
13- from scim2_models import User
1412from sphinx_click .rst_to_ansi_formatter import make_rst_to_ansi_formatter
1513
1614from scim2_cli .create import create_cli
3028def load_config_files (
3129 schemas_fd , resource_types_fd , service_provider_config_fd
3230) -> tuple [
33- list [type [Resource ]], list [ResourceType ] | None , ServiceProviderConfig | None
31+ list [type [Resource ]] | None ,
32+ list [ResourceType ] | None ,
33+ ServiceProviderConfig | None ,
3434]:
3535 if schemas_fd :
3636 schemas_payload = json .load (schemas_fd )
@@ -41,7 +41,7 @@ def load_config_files(
4141 resource_models = [Resource .from_schema (schema ) for schema in schemas_obj ]
4242
4343 else :
44- resource_models = [ User , Group ]
44+ resource_models = None
4545
4646 if resource_types_fd :
4747 resource_types_payload = json .load (resource_types_fd )
You can’t perform that action at this time.
0 commit comments