Skip to content

Commit 4ad3e60

Browse files
added hints
1 parent 2a75713 commit 4ad3e60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ class FixLength(Validator):
417417
ERROR_MESSAGE = "'{value}' length should be '{condition}'"
418418

419419
def __init__(self, fix_length: int, error_message=None):
420-
super().__init__(error_message, fix_length)
420+
super().__init__(error_message=error_message, condition=fix_length)
421421

422422
def validate(self, value=None):
423423
if value is None:

0 commit comments

Comments
 (0)