Skip to content

Commit

Permalink
Update src/metldata/builtin_transformations/common/utils.py
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Zajac <thomas-jakob.zajac@uni-tuebingen.de>
  • Loading branch information
sbilge and mephenor authored Dec 9, 2024
1 parent 147a3a5 commit ab19d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/metldata/builtin_transformations/common/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

def model_to_dict(model: SchemaPack) -> dict[str, Any]:
"""Converts the provided SchemaPack model to a dictionary."""
return json.loads(dumps_schemapack(deepcopy(model), yaml_format=False))
return json.loads(dumps_schemapack(model, yaml_format=False))


def data_to_dict(data: DataPack) -> dict[str, Any]:
Expand Down

0 comments on commit ab19d8c

Please sign in to comment.