mirror of
https://github.com/datahub-project/datahub.git
synced 2025-09-08 16:48:17 +00:00
fix(ingest): init dataset props if missing in transformer (#6429)
This commit is contained in:
parent
198c86a620
commit
f75bb470c3
@ -90,8 +90,8 @@ class AddDatasetProperties(DatasetPropertiesTransformer):
|
||||
in_dataset_properties_aspect: DatasetPropertiesClass = cast(
|
||||
DatasetPropertiesClass, aspect
|
||||
)
|
||||
|
||||
assert in_dataset_properties_aspect
|
||||
if not in_dataset_properties_aspect:
|
||||
in_dataset_properties_aspect = DatasetPropertiesClass()
|
||||
|
||||
out_dataset_properties_aspect: DatasetPropertiesClass = copy.deepcopy(
|
||||
in_dataset_properties_aspect
|
||||
|
Loading…
x
Reference in New Issue
Block a user