code: def _run(run, run_kwargs):
      log.info("Run %s started", run.id)
      try:
          gapi.run(**run_kwargs)
      except gapi.RunError as e:
          log.error("Run %s exited with code %i", run.id, e.returncode)
      else:
          log.info("Run %s completed", run.id)
  
imports: import argparse
  import logging
  import time
  from guild import _api
  from guild import util
  from .None import gen_queue
label_desc: Use image node_id 27 for calling a global function with example usage: _run(run, run_kwargs) without return types