From ab19d8c213ce80e5cff4d01a36f55781a95038bf Mon Sep 17 00:00:00 2001 From: sbilge Date: Mon, 9 Dec 2024 14:27:27 +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 88382b2..82ab279 100644 --- a/src/metldata/builtin_transformations/common/utils.py +++ b/src/metldata/builtin_transformations/common/utils.py @@ -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]: