From 168e29423a9ed3880f08b9bc6961ff10fde6fc25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katarzyna=20Ka=C5=82ek?= <145936017+trina242@users.noreply.github.com> Date: Fri, 14 Mar 2025 05:07:09 +0100 Subject: [PATCH] Fixed iteration over None in Tableau ingestion (#20246) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Katarzyna Kałek --- .../src/metadata/ingestion/source/dashboard/tableau/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ingestion/src/metadata/ingestion/source/dashboard/tableau/metadata.py b/ingestion/src/metadata/ingestion/source/dashboard/tableau/metadata.py index 2de8758a61d..f8fe2c08bf5 100644 --- a/ingestion/src/metadata/ingestion/source/dashboard/tableau/metadata.py +++ b/ingestion/src/metadata/ingestion/source/dashboard/tableau/metadata.py @@ -189,7 +189,7 @@ class TableauSource(DashboardServiceSource): """ if self.source_config.includeTags: tags: Set[TableauTag] = set() - for container in [[dashboard_details], dashboard_details.charts]: + for container in [[dashboard_details], dashboard_details.charts or []]: for elem in container: tags.update(elem.tags)