Skip to content

Commit

Permalink
fix error message
Browse files Browse the repository at this point in the history
Signed-off-by: Martijn Govers <Martijn.Govers@Alliander.com>
  • Loading branch information
mgovers committed Jun 10, 2024
1 parent 4a9fe5c commit 4e55c19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/power_grid_model/validation/errors.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ class InvalidAssociatedEnumValueError(MultiFieldValidationError):
E.g. When a transformer tap regulator has a branch3 control side but regulates a transformer.
"""

_message = "Field {field} contains invalid {enum} values for {n} {objects}. "
_message = "The combination of fields {field} results in invalid {enum} values for {n} {objects}"
enum: Union[Type[Enum], List[Type[Enum]]]

def __init__(
Expand Down

0 comments on commit 4e55c19

Please sign in to comment.