code: def stage(op, continue_on_deps_error=False):
      run = init_run(op)
      try:
          _stage_run_proc_env(op, run)
          _resolve_deps(
              op,
              run,
              for_stage=True,
              continue_on_error=continue_on_deps_error,
          )
          op_util.set_run_staged(run)
      finally:
          op_util.clear_run_pending(run)
      return run
  
imports: import logging
  import os
  import subprocess
  import time
  from guild import config
  from guild import exit_code
  from guild import log
  from guild import op_dep
  from guild import op_util
  from guild import run
  from guild import util
label_desc: Use image node_id 5 for calling a global function with example usage: stage(op, continue_on_deps_error) and returns: run