Skip to content

Commit

Permalink
[dagster-airlift] display airflow kind on assets when no recorded mig…
Browse files Browse the repository at this point in the history
…ration state (#24336)

## Summary

Gives us kind tags on airflow assets even before migration starts (when
this status is empty)
  • Loading branch information
benpankow authored Sep 9, 2024
1 parent 18f039e commit 9c5fa62
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ def construct_assets_with_task_migration_info_applied(
# metadata fields from the original spec it was built from after deserializing.
cacheable_specs.task_asset_specs[spec.key].to_asset_spec(
additional_metadata=spec.metadata,
additional_tags=airflow_kind_dict() if overall_migration_status == "False" else {},
additional_tags=airflow_kind_dict() if overall_migration_status != "True" else {},
)
for spec in specs
]
Expand Down

0 comments on commit 9c5fa62

Please sign in to comment.