We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf45177 + 15e2dd7 commit 9a50159Copy full SHA for 9a50159
src/marshmallow/fields.py
@@ -1731,7 +1731,7 @@ class Email(String):
1731
#: Default error messages.
1732
default_error_messages = {"invalid": "Not a valid email address."}
1733
1734
- def __init__(self, *args, **kwargs):
+ def __init__(self, *args, **kwargs) -> None:
1735
super().__init__(*args, **kwargs)
1736
# Insert validation into self.validators so that multiple errors can be stored.
1737
validator = validate.Email(error=self.error_messages["invalid"])
0 commit comments