class_docstr: Turns all imports performed in its scope into lazy.
  
  It is used to avoid pulling in large dependencies.
docstr: Initializes LazyImports.
  
  Args:
    parent: Name of the parent module doing the imports.
    add_to_globals: Whether imported symbols should be added to importing
        module globals. Rule of thumb is to not add for __init__ modules,
        as it is important for these modules to resolve Lazy symbol upon its
        first access (not when accessing members of the Lazy import).
docstr_tok: ["Initializes","LazyImports",".","Args",":","parent",":","Name","of","the","parent","module","doing","the","imports",".","add_to_globals",":","Whether","imported","symbols","should","be","added","to","importing","module","globals",".","Rule","of","thumb","is","to","not","add","for","__init__","modules",",","as","it","is","important","for","these","modules","to","resolve","Lazy","symbol","upon","its","first","access","(","not","when","accessing","members","of","the","Lazy","import",")","."]
code: def __init__(self, parent, add_to_globals=True):
      """Initializes LazyImports.
  
      Args:
        parent: Name of the parent module doing the imports.
        add_to_globals: Whether imported symbols should be added to importing
            module globals. Rule of thumb is to not add for __init__ modules,
            as it is important for these modules to resolve Lazy symbol upon its
            first access (not when accessing members of the Lazy import).
      """
      self._parent = sys.modules[parent]
      self._globals = vars(self._parent)
      self._add_to_globals = add_to_globals
      self._symbols = dict()
  
imports: import importlib
  import sys
  import typing
label_desc: Use image node_id 1 to create a new LazyImports object  with example: obj = LazyImports(parent, add_to_globals)