data_algebra/util.py
def map_type_to_canonical(v: type) -> type:
    """
    Map type to a smaller set of considered equivalent types.

    :param v: type to map
    :return: type
    """
    try:
        # noinspection PyTypeChecker
        return type_conversions[v]
    except KeyError:
        pass
    return v

    Map type to a smaller set of considered equivalent types.

    :param v: type to map
    :return: type
    
Map type to a smaller set of considered equivalent types.
Map type to a smaller set of considered equivalent types .
def map_type_to_canonical(v: type) -> type:
    try:
        return type_conversions[v]
    except KeyError:
        pass
    return v
def map_type_to_canonical ( v : type ) -> type : try : return type_conversions [ v ] except KeyError : pass return v
Map type to a smaller set of considered equivalent types.
Map type to a smaller set of considered equivalent types .
"""
    Map type to a smaller set of considered equivalent types.

    :param v: type to map
    :return: type
    """ # noinspection PyTypeChecker
None
v
type
type to map
type to map