code: def _op_init_run_attrs(op, run):
      run.write_opref(op.opref)
      run.write_attr("cmd", op.cmd_args)
      for name, val in (op.run_attrs or {}).items():
          run.write_attr(name, val)
  
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 4 for calling a global function with example usage: _op_init_run_attrs(op, run) without return types