def METHOD_NAME(module_path: str) -> Any:
    """Import module from module path"""
    if "from" not in module_path:
        # Import the module using the module path
        return importlib.METHOD_NAME(module_path)
    # Split the module path into its components
    _, module_path, _, object_name = module_path.split()
    # Import the module using the module path
    module = importlib.METHOD_NAME(module_path)
    return getattr(module, object_name)