From 1c2b3af7110047f6121381b0856838fa299fd6d2 Mon Sep 17 00:00:00 2001 From: David Michaels Date: Wed, 13 Mar 2024 12:23:51 -0400 Subject: [PATCH] lint --- dcicutils/portal_object_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dcicutils/portal_object_utils.py b/dcicutils/portal_object_utils.py index c21315e00..0d43f2c93 100644 --- a/dcicutils/portal_object_utils.py +++ b/dcicutils/portal_object_utils.py @@ -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