-
Notifications
You must be signed in to change notification settings - Fork 241
Closed
Labels
Milestone
Description
I spent about an hour trying to implement a custom validator per http://docs.python-cerberus.org/en/stable/customize.html, and finally realised that the docs are wrong!
This:
class MyValidator(Validator):
def _validate_isodd(self, isodd, field, value):should be:
class MyValidator(Validator):
def _validator_isodd(self, isodd, field, value):i.e. _validate_ -> _validator_
Reactions are currently unavailable