From 6e128c694466a20d6576224849ebf6e98d2808ff Mon Sep 17 00:00:00 2001 From: sbilge Date: Mon, 9 Dec 2024 14:27:41 +0100 Subject: [PATCH] Update src/metldata/builtin_transformations/common/utils.py Co-authored-by: Thomas Zajac --- src/metldata/builtin_transformations/common/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/metldata/builtin_transformations/common/utils.py b/src/metldata/builtin_transformations/common/utils.py index 82ab279..dcbd4a6 100644 --- a/src/metldata/builtin_transformations/common/utils.py +++ b/src/metldata/builtin_transformations/common/utils.py @@ -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: