def not_none_validator(v):
    if (v is None):
        raise TypeError('None is not an allow value')
    return v
def not_none_validator(v):
    if (v is None):
        raise TypeError('None is not an allow value')
    return v