The methods query, patch and delete in SCIMClient expect resource_model to be type(Resource) when in reality it should be just Resource. If you try to pass a type(Resource) (for example type(User)), the following error occurs:
AttributeError: type object 'ScimMetaclass' has no attribute '__schema__'
This same issue appears in scim2-models as well, for example in ResourceType.from_resource(). I have not checked all functions and classes but I think all type(Any) should be converted to just Any
The methods
query,patchanddeleteinSCIMClientexpect resource_model to betype(Resource)when in reality it should be justResource. If you try to pass atype(Resource)(for exampletype(User)), the following error occurs:AttributeError: type object 'ScimMetaclass' has no attribute '__schema__'This same issue appears in scim2-models as well, for example in
ResourceType.from_resource(). I have not checked all functions and classes but I think alltype(Any)should be converted to justAny