Fixed iteration over None in Tableau ingestion (#20246)

Co-authored-by: Katarzyna Kałek <kkalek@olx.pl>
This commit is contained in:
Katarzyna Kałek 2025-03-14 05:07:09 +01:00 committed by GitHub
parent f291e5cb1d
commit 168e29423a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)