Fix #8036: Superset ingestion fails during the lineage fetch for charts (#8037)

This commit is contained in:
Sriharsha Chintalapani 2022-10-07 09:42:46 -07:00 committed by GitHub
parent 795e7ae265
commit 5be142959a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -193,6 +193,7 @@ class SupersetSource(DashboardServiceSource):
"""
for chart_id in self._get_charts_of_dashboard(dashboard_details):
chart_json = self.all_charts.get(chart_id)
if chart_json:
datasource_fqn = (
self._get_datasource_fqn(
chart_json.get("datasource_id"), db_service_name