Skip to content

Commit 2b6665b

Browse files
committed
removed dependency
1 parent 614edfe commit 2b6665b

File tree

1 file changed

+2
-2
lines changed
  • metadata-ingestion/src/datahub/ingestion/source

1 file changed

+2
-2
lines changed

metadata-ingestion/src/datahub/ingestion/source/superset.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def emit_chart_mces(self) -> Iterable[MetadataWorkUnit]:
612612
for chart_data in self.paginate_entity_api_results("chart/", PAGE_SIZE):
613613
try:
614614
chart_id = str(chart_data.get("id"))
615-
chart_name = str(chart_data.get("slice_name", ""))
615+
chart_name = chart_data.get("slice_name", "")
616616

617617
if not self.config.chart_pattern.allowed(chart_name):
618618
self.report.report_dropped(
@@ -787,7 +787,7 @@ def construct_dataset_from_dataset_data(
787787
env=self.config.env,
788788
)
789789

790-
# if we sql, we label the datasets as virtual
790+
# if we have sql, we label the datasets as virtual
791791
if sql:
792792
tag_urn = f"urn:li:tag:{self.platform}:virtual"
793793
upstream_lineage = self.generate_virtual_dataset_lineage(

0 commit comments

Comments
 (0)