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 ab19d8c commit 6e128c6
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 @@ -34,7 +34,7 @@ def model_to_dict(model: SchemaPack) -> dict[str, Any]:

def data_to_dict(data: DataPack) -> dict[str, Any]:
"""Converts the provided DataPack data to a dictionary."""
return json.loads(dumps_datapack(deepcopy(data), yaml_format=False))
return json.loads(dumps_datapack(data, yaml_format=False))


def _thaw_content(frozen_dict: Mapping | tuple) -> dict:
Expand Down

0 comments on commit 6e128c6

Please sign in to comment.