code: def import_recursive(package: ModuleType) -> None:
      """Takes a package and imports all modules underneath it."""
      pkg_dir: Optional[List[str]] = None
      pkg_dir = package.__path__  # type: ignore
      module_location = package.__name__
      for _module_loader, name, ispkg in pkgutil.iter_modules(pkg_dir):
          module_name = f"{module_location}.{name}"  # Module/package
          if not ONNX_ML and module_name.startswith(
              "onnx.backend.test.case.node.ai_onnx_ml"
          ):
              continue
  
          module = importlib.import_module(module_name)
          if ispkg:
              import_recursive(module)
  
imports: import importlib
  import pkgutil
  from types import ModuleType
  from typing import List, Optional
  import numpy
  from onnx import ONNX_ML
label_desc: Use image node_id 1 for calling a global function with example usage: import_recursive(package) without return types