class_docstr: Module class that surfaces all objects but only performs associated imports when the objects are requested.
  
  Shamelessly copied and adapted from the Hugging Face transformers implementation.
class_docstr_tok: ["Module","class","that","surfaces","all","objects","but","only","performs","associated","imports","when","the","objects","are","requested",".","Shamelessly","copied","and","adapted","from","the","Hugging","Face","transformers","implementation","."]
code: def _get_module(
      self,
      module_name: str,
      deprecated: bool = False,
      class_name: Optional[str] = None,
  ):
      if deprecated:
          warnings.warn(
              f"Importing '{class_name or module_name}' from the argilla namespace (that is "
              f"`argilla.{class_name or module_name}`) is deprecated and will not work in a future version. "
              f"Make sure you update your code accordingly.",
              category=FutureWarning,
          )
  
      try:
          return importlib.import_module(
              "." + module_name, self.__name__
          )
      except Exception as e:
          raise RuntimeError(
              f"Failed to import {self.__name__}.{module_name} because of the following error "
              f"(look up to see its traceback):\n{e}"
          ) from e
  
file_path: argilla/src/argilla/utils/utils.py
imports: import asyncio
  import importlib
  import os
  import sys
  import threading
  import warnings
  from itertools import chain
  from types import ModuleType
  from typing import Any, Optional, Tuple
label_desc: Use image node_id 4 for calling the LazyargillaModule obj's underlying member method code with example usage: obj._get_module(module_name, deprecated, class_name) and returns: importlib