code: def get_functions_and_classes():
      """Extracts a list of public functions and classes for the API generation.
  
      Returns:
        A list of function and class names.
      """
      caller = inspect.stack()[1]
      module = inspect.getmodule(caller[0])
      return [
          obj_name
          for obj_name, obj in inspect.getmembers(module)
          if inspect.isfunction(obj)
          or inspect.isclass(obj)
          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 1 for calling a global function with example usage: get_functions_and_classes() and returns: unknown