Skip to content

Commit

Permalink
fix(ingest): init dataset props if missing in transformer
Browse files Browse the repository at this point in the history
  • Loading branch information
hsheth2 committed Nov 14, 2022
1 parent 198c86a commit c03abd6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ def transform_aspect(
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
Expand Down

0 comments on commit c03abd6

Please sign in to comment.