From d6e103f2ebe034feff3ad71244abb43081f4b851 Mon Sep 17 00:00:00 2001 From: Aditya Raj Date: Sat, 26 Oct 2024 13:56:23 +0000 Subject: [PATCH] Add Collect creator method data from Europeana API (Fixes #2834) --- catalog/dags/providers/provider_api_scripts/europeana.py | 1 + 1 file changed, 1 insertion(+) diff --git a/catalog/dags/providers/provider_api_scripts/europeana.py b/catalog/dags/providers/provider_api_scripts/europeana.py index 93b8d76d465..32f1faf73bd 100644 --- a/catalog/dags/providers/provider_api_scripts/europeana.py +++ b/catalog/dags/providers/provider_api_scripts/europeana.py @@ -158,6 +158,7 @@ def _get_filetype(self, item_data: dict) -> str: def _get_filesize(self, item_data: dict) -> int: return item_data.get("ebucoreFileByteSize") + @staticmethod def _get_creator(self, data: dict) -> str | None: creators = data.get("dcCreator", []) if isinstance(creators, list):