def v(value): hot.HOTParamSchema(schema).validate(name, value) return True
def v(value): hot.HOTParamSchema(schema).do_check(name, value, [ parameters.ALLOWED_VALUES, parameters.ALLOWED_PATTERN, parameters.MAX_LENGTH, parameters.MIN_LENGTH ]) return True