def _validate_max(self, max_value, field, value):
        """ {'nullable': False } """
        try:
            if value > max_value:
                self._error(field, errors.MAX_VALUE)
        except TypeError:
            pass
def _validate_max ( self , max_value , field , value ) : try : if value > max_value : self . _error ( field , errors . MAX_VALUE ) except TypeError : pass
{'nullable': False }