Skip to content

Commit

Permalink
fix(ingest/looker): fix looker browse paths v2 (datahub-project#10700)
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 authored Jun 17, 2024
1 parent 39081ec commit 07df5f8
Showing 1 changed file with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1137,16 +1137,9 @@ def _to_metadata_events( # noqa: C901
]

# Add tags
explore_tag_urns: List[TagAssociationClass] = []
for tag in self.tags:
tag_urn = TagUrn(tag)
explore_tag_urns.append(TagAssociationClass(tag_urn.urn()))
proposals.append(
MetadataChangeProposalWrapper(
entityUrn=tag_urn.urn(),
aspect=tag_urn.to_key_aspect(),
)
)
explore_tag_urns: List[TagAssociationClass] = [
TagAssociationClass(tag=TagUrn(tag).urn()) for tag in self.tags
]
if explore_tag_urns:
dataset_snapshot.aspects.append(GlobalTagsClass(explore_tag_urns))

Expand Down

0 comments on commit 07df5f8

Please sign in to comment.