code: def _resolve_deps(op, run, for_stage=False, continue_on_error=False):
      resolve_context = op_dep.ResolveContext(run)
      deps_attr = run.get("deps") or {}
      for dep in op.deps or []:
          resolved_sources = deps_attr.setdefault(
              dep.resdef.resolving_name, {}
          )
          try:
              _apply_resolve_dep_sources(
                  op,
                  dep,
                  resolve_context,
                  run,
                  for_stage,
                  resolved_sources,
              )
          except op_dep.OpDependencyError as e:
              if not continue_on_error:
                  raise
              log.warning("a dependency was not met: %s", e)
      run.write_attr("deps", deps_attr)
  
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 33 for calling a global function with example usage: _resolve_deps(op, run, for_stage, continue_on_error) without return types