code: def parse_flags_and_run():
      # Parse flags for this module and the things it has already imported.
      # Pass whatever flags are left over to main() through a side channel, so that
      # app.run() doesn't try to parse them before we have set the scene.
      [program_name, *process_argv] = _parse_process_entry_flags(
          sys.argv
      )
      app.run(
          functools.partial(
              main, process_argv=[program_name, *process_argv]
          ),
          argv=[program_name],
      )
  
file_path: launchpad/launchpad/nodes/python/process_entry.py
imports: import contextlib
  import functools
  import json
  import os
  import sys
  from absl import app
  from absl import flags
  from absl import logging
  import cloudpickle
  from launchpad import flags
  from launchpad.launch import worker_manager
  from launchpad.launch import worker_manager_v2
  import six
label_desc: Use image node_id 4 for calling a global function with example usage: parse_flags_and_run() without return types