diff --git a/src/libecalc/presentation/yaml/yaml_models/pyyaml_yaml_model.py b/src/libecalc/presentation/yaml/yaml_models/pyyaml_yaml_model.py index c667d2daa1..6dacacd4ff 100644 --- a/src/libecalc/presentation/yaml/yaml_models/pyyaml_yaml_model.py +++ b/src/libecalc/presentation/yaml/yaml_models/pyyaml_yaml_model.py @@ -96,7 +96,6 @@ def read( internal_datamodel = PyYamlYamlModel.read_yaml( main_yaml=main_yaml, resources=resources, base_dir=base_dir, enable_include=enable_include ) - self = cls(internal_datamodel=internal_datamodel, name=main_yaml.name, instantiated_through_read=True) return self