def get_type_validator(value_type):
    """Returns the validator for the given type"""
    try:
        return TYPE_VALIDATORS[value_type]
    except __HOLE__:
        return None
dataset/ETHPy150Open fiam/wapi/validators.py/get_type_validator