code: def _apply_plugin(name):
      plugin = _plugin_for_name(name)
      log.debug("patching env with plugin %r", name)
      plugin.patch_env()
  
imports: import warnings
  import logging
  import os
  import pdb
  import sys
  import traceback
  from guild import exit_code
  from guild import op_util
  from guild import util
label_desc: Use image node_id 10 for calling a global function with example usage: _apply_plugin(name) without return types