Skip to content

Commit

Permalink
new sdk support
Browse files Browse the repository at this point in the history
  • Loading branch information
grusin-db committed Jan 9, 2024
1 parent 9930899 commit be6d889
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azure_dbr_scim_sync/scim.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def _generic_get_by_human_name(mapper, sdk_module, search_name):
cache.invalidate(search_name)

# cache miss or cache poison scenario
res = sdk_module.list(filter=f"{key_api_field} eq '{search_name}'")
res = list(sdk_module.list(filter=f"{key_api_field} eq '{search_name}'") or [])
if res and len(res) == 1:
obj = res[0]
cache[search_name] = obj.id
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
packages=find_packages(exclude=["tests", "*tests.*", "*tests"]),
python_requires=">=3.8",
install_requires=[
"pydantic==2.3.0", "pyyaml==6.0.1", "databricks-sdk==0.9.0", "requests", "click==8.1.7",
"pydantic==2.3.0", "pyyaml==6.0.1", "databricks-sdk==0.16.0", "requests", "click==8.1.7",
"coloredlogs==15.0.1", "joblib", "fsspec==2023.9.2", "adlfs==2023.9.0", "azure-identity==1.15.0"
],
extras_require={
Expand Down

0 comments on commit be6d889

Please sign in to comment.