code: def _GenerateArgsSpec(doc):
      """Generate args spec from a method docstring."""
      args_spec = []
      doc = re.search(r"\(.*\)", doc)
      if not doc:
          return None
      # remove parentheses
      doc = doc.group().strip("(").strip(")")
      doc_split = doc.split(",")
      for s in doc_split:
          arg = re.search(r"\w+", s)
          if not arg:
              return None
          args_spec.append(f"'{arg.group()}'")
      return ", ".join(args_spec)
  
file_path: tensorflow/tensorflow/tools/api/lib/python_object_to_proto_visitor.py
imports: import enum
  import re
  import sys
  from google.protobuf import message
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import deprecation
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
  from tensorflow.tools.api.lib import api_objects_pb2
label_desc: Use image node_id 4 for calling a global function with example usage: _GenerateArgsSpec(doc) and returns: str, None, None