class_docstr: An entrypoint that was exposed by the use of a decorator.
  
  Attributes:
    module: The public module that the symbol was exposed to. For example:
      tensorflow.io.
    name: The name the symbol was exported as. For example: decode_png.
    exported_symbol: The symbol that this entrypoint refers back to.
docstr: Returns the import statement for this entrypoint.
  
  Args:
    file_prefixes_to_strip: List of prefixes to strip from the file name.
    module_prefix: A prefix to add to the import.
    use_lazy_loading: Whether to use lazy loading or not.
docstr_tok: ["Returns","the","import","statement","for","this","entrypoint",".","Args",":","file_prefixes_to_strip",":","List","of","prefixes","to","strip","from","the","file","name",".","module_prefix",":","A","prefix","to","add","to","the","import",".","use_lazy_loading",":","Whether","to","use","lazy","loading","or","not","."]
code: def get_import(
      self,
      file_prefixes_to_strip: Sequence[str],
      module_prefix: str,
      use_lazy_loading: bool,
  ) -> str:
      """Returns the import statement for this entrypoint.
  
      Args:
        file_prefixes_to_strip: List of prefixes to strip from the file name.
        module_prefix: A prefix to add to the import.
        use_lazy_loading: Whether to use lazy loading or not.
      """
      module_import_path = _get_import_path(
          self.exported_symbol.file_name,
          file_prefixes_to_strip,
          module_prefix,
      )
      alias = ""
      symbol_name = self.exported_symbol.symbol_name
      if self.name != symbol_name:
          alias = f" as {self.name}"
      if not use_lazy_loading:
          return (
              f"from {module_import_path} import"
              f" {symbol_name}{alias} # line:"
              f" {self.exported_symbol.line_no}"
          )
      else:
          return (
              f"  '{self.name}': ('{module_import_path}',"
              f" '{symbol_name}'), # line:"
              f" {self.exported_symbol.line_no}"
          )
  
imports: import collections
  from collections.abc import Mapping, Sequence, Set
  import dataclasses
  import os
  from typing import Optional
  from absl import app
  from absl import flags
  from tensorflow.python.tools.api.generator2.shared import exported_api
label_desc: Use image node_id 1 for calling the _Entrypoint obj's underlying member method code with example usage: obj.get_import(file_prefixes_to_strip, module_prefix, use_lazy_loading) and returns: str, module_import_path, str, symbol_name, alias, str, self, str, self, str, module_import_path, str, symbol_name, str, self