code: def _get_import_path(
      file: str,
      file_prefixes_to_strip: Sequence[str],
      module_prefix: str,
  ) -> str:
      module_import_path = file
      for prefix in file_prefixes_to_strip:
          module_import_path = module_import_path.removeprefix(prefix)
      module_import_path = module_import_path.removesuffix(".py")
      module_import_path = module_import_path.removesuffix("__init__")
      module_import_path = module_import_path.strip("/")
      module_import_path = module_import_path.replace("/", ".")
  
      return module_prefix + module_import_path
  
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 a global function with example usage: _get_import_path(file, file_prefixes_to_strip, module_prefix) and returns: unknown