code: def _apply_source_config(config, source, source_info):
      if not config:
          return
      for name in (
          source.name,
          source.flag_name,
          source.uri,
          source.parsed_uri.path,
      ):
          if not name:
              continue
          try:
              source_info["config"] = config[name]
          except KeyError:
              pass
          else:
              break
  
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 35 for calling a global function with example usage: _apply_source_config(config, source, source_info) without return types