code: def _maybe_warn_no_resolved_runs_for_op_source(resolved, op_source):
      if not resolved and not op_source.optional:
          log.warning(
              "cannot find a suitable run for required resource '%s'",
              op_source.resolving_name,
          )
  
imports: import os
  import re
  import logging
  import typing
  from guild import cli
  from guild import resolver
  from guild import resourcedef
  from guild import util
label_desc: Use image node_id 46 for calling a global function with example usage: _maybe_warn_no_resolved_runs_for_op_source(resolved, op_source) without return types