code: def _get_module_docstring(
      docs_by_module: Mapping[str, str], module: str
  ) -> str:
      if module in docs_by_module:
          return docs_by_module[module]
      module = module.replace("tensorflow", "tf")
      return f"Public API for {module} namespace"
  
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 6 for calling a global function with example usage: _get_module_docstring(docs_by_module, module) and returns: str, module, str, docs_by_module