code: def add_common_job_options(func):
      """Decorator for adding CLI flags shared by all `ray job` commands."""
  
      @click.option(
          "--verify",
          default=True,
          show_default=True,
          type=BoolOrStringParam(),
          help=(
              "Boolean indication to verify the server's TLS certificate or a path to"
              " a file or directory of trusted certificates."
          ),
      )
      @click.option(
          "--headers",
          required=False,
          type=str,
          default=None,
          help=(
              "Used to pass headers through http/s to the Ray Cluster."
              'please follow JSON formatting formatting {"key": "value"}'
          ),
      )
      @functools.wraps(func)
      def wrapper(*args, **kwargs):
          return func(*args, **kwargs)
  
      return wrapper
  
file_path: ray/dashboard/modules/job/cli_utils.py
imports: from typing import Union
  import click
  import functools
label_desc: Use image node_id 2 for calling a global function with example usage: add_common_job_options(func) and returns: wrapper, func