code: def _resolve_stage_deps(stage, deps, state):
      stage_run = dvc_util.marked_or_latest_run_for_stage(stage)
      if not stage_run:
          _no_suitable_run_for_stage_error(stage, deps)
      log.info(
          "Using %s for '%s' DvC stage dependency", stage_run.id, stage
      )
      _link_op_deps(stage_run, deps, state)
  
imports: import argparse
  import logging
  import os
  import subprocess
  import yaml
  from guild import op_util
  from guild import run
  from guild import run_manifest
  from guild import summary
  from guild import util
  from .None import dvc_util
label_desc: Use image node_id 17 for calling a global function with example usage: _resolve_stage_deps(stage, deps, state) without return types