import importlib


def import_type(type_name: str) -> type:
    """
    Import a type from a fully qualified module+type name
    """
    module_name, type_name = type_name.rsplit(".", 1)
    mod = importlib.import_module(module_name)
    return getattr(mod, type_name)