code: def _run_once(state):
      log.info("Processing staged runs")
      time0 = time.time()
      _run_staged(state)
      _wait_for_running(state)
      _log_runtime(time0, state)
  
imports: import logging
  import os
  import signal
  import time
  from guild import lock
  from guild import op_util
  from guild import util
  from guild import var
label_desc: Use image node_id 5 for calling a global function with example usage: _run_once(state) without return types