From 711f2c59ddc47b1e6b69861461aeb5f6e84e00ff Mon Sep 17 00:00:00 2001 From: Staci Mullins <63313398+stacimc@users.noreply.github.com> Date: Fri, 16 Aug 2024 13:34:14 -0700 Subject: [PATCH] Fix Wikimedia provider when verbose logging enabled (#4753) --- .../dags/providers/provider_api_scripts/wikimedia_commons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py b/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py index 32aa10274e7..da1009524cc 100644 --- a/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py +++ b/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py @@ -282,7 +282,7 @@ def get_should_continue(self, response_json): def get_batch_data(self, response_json): image_pages = self.get_media_pages(response_json) if image_pages is not None: - return image_pages.values() + return list(image_pages.values()) return None @staticmethod