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]: