def METHOD_NAME(base_name, base_path):
    """
    Imports all modules underneath `base_module` in the module tree.
    Returns
    -------
    list
        All the modules in the base module tree.
    """
    modules = []
    for module_name in iter_module_names(base_path):
        full_module_name = f"{base_name}.{module_name}"
        module = sys.modules.get(full_module_name, import_module(full_module_name))
        modules.append(module)
    return modules