From 4aa6f3be2920bd60e6085e969030b7f23187ac1f Mon Sep 17 00:00:00 2001 From: dmaresma Date: Mon, 5 Jan 2026 18:15:28 -0500 Subject: [PATCH] init --- datacontract/catalog/catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datacontract/catalog/catalog.py b/datacontract/catalog/catalog.py index 288bade94..c06066f45 100644 --- a/datacontract/catalog/catalog.py +++ b/datacontract/catalog/catalog.py @@ -14,7 +14,7 @@ def _get_owner(odcs: OpenDataContractStandard) -> Optional[str]: """Get the owner from ODCS customProperties or team.""" - if odcs.team and odcs.team.name: + if odcs.team and hasattr(odcs.team, "name") and odcs.team.name: return odcs.team.name if odcs.customProperties: for prop in odcs.customProperties: