code: def runs_stop_params(fn):
      click_util.append_params(
          fn,
          [
              click.Option(
                  ("-y", "--yes"),
                  help="Do not prompt before stopping.",
                  is_flag=True,
              ),
              click.Option(
                  ("-n", "--no-wait"),
                  help="Don't wait for remote runs to stop.",
                  is_flag=True,
              ),
              click.Option(
                  ("--force",),
                  help=(
                      "Forceably stop the runs after a period of time (specified by "
                      "'--timeout')."
                  ),
                  is_flag=True,
              ),
              click.Option(
                  ("--timeout",),
                  type=click.IntRange(min=0),
                  metavar="N",
                  default=30,
                  help="Timeout in seconds to wait for a run to stop (default is 30).",
              ),
              runs_support.runs_arg,
              runs_support.common_filters,
              remote_support.remote_option("Stop remote runs."),
          ],
      )
      return fn
  
imports: import click
  from guild import click_util
  from .None import remote_support
  from .None import runs_support
label_desc: Use image node_id 1 for calling a global function with example usage: runs_stop_params(fn) and returns: fn