def to_python(self, value):
    try:
        return int(value)
    except ValueError:
        if self.parse_cron(value):
            return value
    raise FieldValidationException("The value of '{}' for the '{}' parameter is not a valid value".format(value, self.name))
def to_python(self, value):
    try:
        return int(value)
    except ValueError:
        if self.parse_cron(value):
            return value
    raise FieldValidationException("The value of '{}' for the '{}' parameter is not a valid value".format(value, self.name))