def validate_value_type(value_type, value):
    try:
        return _VALIDATOR_MAP[value_type](value)
    except (__HOLE__, TypeError) as err:
        raise ValidationError(err)

### attribute base type validation and conversion
dataset/ETHPy150Open kdart/pycopia/storage/pycopia/db/types.py/validate_value_type