code: def _resolve_deps(state):
      for dep_stage, deps in dvc_util.iter_stage_deps_by_parent(
          state.target_stage, state.dvc_config
      ):
          deps = _filter_unresolved_deps(deps, state)
          if not deps:
              continue
          if dep_stage:
              _resolve_stage_deps(dep_stage, deps, state)
          else:
              _resolve_project_deps(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 15 for calling a global function with example usage: _resolve_deps(state) without return types