Skip to content

Commit

Permalink
fixed iterate over int error for superset ingestion
Browse files Browse the repository at this point in the history
  • Loading branch information
PeteMango committed Mar 6, 2025
1 parent fcabe88 commit 4e99106
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metadata-ingestion/src/datahub/ingestion/source/superset.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def construct_dashboard_from_api_data(
chart_urns.append(
make_chart_urn(
platform=self.platform,
name=value.get("meta", {}).get("chartId", "unknown"),
name=str(value.get("meta", {}).get("chartId", "unknown")),
platform_instance=self.config.platform_instance,
)
)
Expand Down Expand Up @@ -499,7 +499,7 @@ def emit_dashboard_mces(self) -> Iterable[MetadataWorkUnit]:
def construct_chart_from_chart_data(self, chart_data: dict) -> ChartSnapshot:
chart_urn = make_chart_urn(
platform=self.platform,
name=chart_data["id"],
name=str(chart_data["id"]),
platform_instance=self.config.platform_instance,
)
chart_snapshot = ChartSnapshot(
Expand Down

0 comments on commit 4e99106

Please sign in to comment.