def METHOD_NAME(cls, data_type: DataTypeLike) -> 'DataType':
    """
    Normalize the given *data_type* value into
    an instance of :class:DataType.
    :param data_type: Another data type, maybe given as type alias name,
        as a type, or as a DataType instance.
    :return: a DataType instance
    """
    if isinstance(data_type, DataType):
        return data_type
    if data_type is None or data_type is type(None):
        return ANY_TYPE
    if isinstance(data_type, str):
        for dt in cls._REGISTERED_DATA_TYPES:
            if data_type in dt._alias_set:
                return dt
        raise ValueError(f'unknown data type {data_type!r}')
    if isinstance(data_type, type):
        for dt in cls._REGISTERED_DATA_TYPES:
            if data_type is dt.dtype:
                return dt
        return DataType(data_type)
    raise ValueError(f'cannot convert {data_type!r} into a data type')