We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7602b22 commit 7b49304Copy full SHA for 7b49304
1 file changed
scim2_cli/__init__.py
@@ -1,4 +1,5 @@
1
import json
2
+import re
3
from typing import Any
4
from typing import TypeGuard
5
@@ -138,7 +139,7 @@ def cli(
138
139
140
ctx.obj["client"] = scim_client
141
ctx.obj["resource_models"] = {
- resource_model.__name__.lower(): resource_model
142
+ re.sub(r"\[.*\]", "", resource_model.__name__.lower()): resource_model
143
for resource_model in ctx.obj["client"].resource_models
144
}
145
0 commit comments