Skip to content

Commit

Permalink
update to portal_utils/get_identifying_path
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed May 28, 2024
1 parent 5645ca8 commit d9bab89
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dcicutils/portal_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ def is_lookup_subtypes(lookup_options: int) -> bool: # noqa
@function_cache(maxsize=100, serialize_key=True)
def get_identifying_path(self, portal_object: dict, portal_type: Optional[Union[str, dict]] = None,
lookup_strategy: Optional[Union[Callable, bool]] = None) -> Optional[str]:
if identifying_paths := self.get_identifying_path(portal_object, portal_type, lookup_strategy):
if identifying_paths := self.get_identifying_paths(portal_object, portal_type, lookup_strategy):
return identifying_paths[0]
return None

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "dcicutils"
version = "8.8.6.1b9"
version = "8.8.6.1b10"
description = "Utility package for interacting with the 4DN Data Portal and other 4DN resources"
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand Down

0 comments on commit d9bab89

Please sign in to comment.