Skip to content

Commit

Permalink
Correct subtype in mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
LavMatt authored Dec 3, 2024
1 parent e2ff430 commit df3cc43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, graph: DataHubGraph):
(DatahubEntityType.DATASET.value, DatahubSubtype.SOURCE.value): (self._parse_dataset, EntityTypes.TABLE),
(DatahubEntityType.CONTAINER.value, DatahubSubtype.DATABASE.value): (self._parse_container, EntityTypes.DATABASE),
(DatahubEntityType.CONTAINER.value, DatahubSubtype.PUBLICATION_COLLECTION.value): (self._parse_container, EntityTypes.PUBLICATION_COLLECTION),
(DatahubEntityType.DATASET.value, DatahubSubtype.PUBLICATION_DATASET.value): (self._parse_container, EntityTypes.PUBLICATION_COLLECTION),
(DatahubEntityType.DATASET.value, DatahubSubtype.PUBLICATION_DATASET.value): (self._parse_container, EntityTypes.PUBLICATION_DATASET),
(DatahubEntityType.CHART.value, None): (self._parse_dataset, EntityTypes.CHART),
(DatahubEntityType.DASHBOARD.value, None): (self._parse_container, EntityTypes.DASHBOARD),
}
Expand Down

0 comments on commit df3cc43

Please sign in to comment.