Skip to content

Commit

Permalink
refactor: remove todo text
Browse files Browse the repository at this point in the history
  • Loading branch information
frodehk committed Jan 9, 2025
1 parent 3d94919 commit ade417b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libecalc/presentation/yaml/mappers/component_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def from_yaml_to_dto(
user_defined_category=user_defined_category,
cable_loss=cable_loss,
max_usage_from_shore=max_usage_from_shore,
component_type=ComponentType.GENERATOR_SET, # TODO: Check if this is correct. Why isn´t component_type set for YamlGeneratorSet?
component_type=ComponentType.GENERATOR_SET,
)
except ValidationError as e:
raise DtoValidationError(data=data.model_dump(), validation_error=e) from e
Expand Down

0 comments on commit ade417b

Please sign in to comment.