code: def _write_remote_lock_file(run_dir, remote_name):
      with open(_remote_lock_file_path(run_dir), "w") as f:
          f.write(remote_name)
  
imports: import logging
  import os
  import subprocess
  import sys
  from guild import config
  from guild import file_util
  from guild import log
  from guild import remote
  from guild import util
  from guild import var
label_desc: Use image node_id 8 for calling a global function with example usage: _write_remote_lock_file(run_dir, remote_name) without return types