class_docstr: Provides a lazy-loaded interface to a Python module, and its submodules. The module will not
  be imported until an attribute is accessed.
code: def __getattr__(self, __name: str) -> Any:
      if self.__module is None:
          self.__import_module()
      elif __name in self.__submods:
          return self.__submods[__name]  # pragma: no cover
  
      try:
          resource = getattr(self.__module, __name)
      except AttributeError as attr_exc:  # pragma: no cover
          try:
              submod = lazy_module(
                  importlib.import_module(
                      f"{self.__module_name}.{__name}"
                  )
              )
          except ImportError as import_exc:
              raise attr_exc from import_exc
  
          self.__submods[__name] = submod
          return submod
  
      return resource
  
imports: import importlib
  from types import ModuleType
  from typing import Any, Callable, Optional, Union
label_desc: Use image node_id 2 for calling the lazy_module obj's underlying member method code with example usage: obj.__getattr__(__name) and returns: resource, self, submod