Skip to content

Commit

Permalink
make black happy
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Oct 8, 2024
1 parent 8b4dd8c commit f97f356
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions metaphor/snowflake/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ def update_dataset_entity_upstream(
"""
if normalized_name not in datasets:
datasets[normalized_name] = Dataset(
logical_id=DatasetLogicalID(name=normalized_name, platform=DataPlatform.SNOWFLAKE, account=account),
logical_id=DatasetLogicalID(
name=normalized_name, platform=DataPlatform.SNOWFLAKE, account=account
),
)

dataset = datasets[normalized_name]
Expand All @@ -321,4 +323,6 @@ def update_dataset_entity_upstream(
if query:
dataset.entity_upstream.transformation = query

dataset.entity_upstream.source_entities = list({*source_entities, *(dataset.entity_upstream.source_entities or [])})
dataset.entity_upstream.source_entities = list(
{*source_entities, *(dataset.entity_upstream.source_entities or [])}
)

0 comments on commit f97f356

Please sign in to comment.