Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichaels-harvard committed Mar 13, 2024
1 parent 3adc9bd commit 1c2b3af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcicutils/portal_object_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,6 @@ def _normalize_data_refs(value: Any, refs: List[dict], schema: dict,
if isinstance(portal, Portal):
nlookups += 1
if ((ref_object := portal.get_metadata(ref_path, raise_exception=False)) and
(ref_uuid := ref_object.get("uuid"))):
(ref_uuid := ref_object.get("uuid"))): # noqa
return ref_uuid, nlookups
return value, nlookups

0 comments on commit 1c2b3af

Please sign in to comment.