class_docstr: A class to insert import statements into the Python module.
class_docstr_tok: ["A","class","to","insert","import","statements","into","the","Python","module","."]
docstr: Initialize the ``class_names`` and ``import_node`` attributes.
  
  Args:
      class_names (set): If any of these class names are referenced in the
          module, then ``import_node`` is inserted.
      import_node (ast.ImportFrom): The AST node to insert.
docstr_tok: ["Initialize","the","``","class_names","``","and","``","import_node","``","attributes",".","Args",":","class_names","(","set",")",":","If","any","of","these","class","names","are","referenced","in","the","module",",","then","``","import_node","``","is","inserted",".","import_node","(","ast.ImportFrom",")",":","The","AST","node","to","insert","."]
code: def __init__(self, class_names, import_node):
      """Initialize the ``class_names`` and ``import_node`` attributes.
  
      Args:
          class_names (set): If any of these class names are referenced in the
              module, then ``import_node`` is inserted.
          import_node (ast.ImportFrom): The AST node to insert.
      """
      self.class_names = class_names
      self.import_node = import_node
  
imports: from __future__ import absolute_import
  import ast
  from sagemaker.cli.compatibility.v2.modifiers import matching
  from sagemaker.cli.compatibility.v2.modifiers.modifier import Modifier
label_desc: Use image node_id 1 to create a new _ImportInserter object from inherited base classes: Modifier with example: obj = _ImportInserter(class_names, import_node)