code: def get_modules():
      """Extracts a list of public modules for the API generation.
  
      Returns:
        A list of module names.
      """
      caller = inspect.stack()[1]
      module = inspect.getmodule(caller[0])
      return [
          obj_name
          for obj_name, obj in inspect.getmembers(module)
          if inspect.ismodule(obj)
          and six.ensure_str(obj.__name__).rsplit(".", 1)[0]
          == module.__name__
          and not obj_name.startswith("_")
      ]
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import six
label_desc: Use image node_id 2 for calling a global function with example usage: get_modules() and returns: unknown