def get_type_validator(value_type):
    try:
        return TYPE_VALIDATORS[value_type]
    except KeyError:
        return None
Get all disk-related nodes for an instance.
dataset/ETHPy150Open fiam/wapi/validators.py/get_type_validator--crossover with--dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter.GetInstanceNodes