Skip to content

Commit

Permalink
Add Collect creator method data from Europeana API (Fixes WordPress#2834
Browse files Browse the repository at this point in the history
)
  • Loading branch information
dryruffian authored and obulat committed Oct 29, 2024
1 parent 3753a45 commit d6e103f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions catalog/dags/providers/provider_api_scripts/europeana.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d6e103f

Please sign in to comment.