code: def _remote_run(remote, run_id):
      try:
          remote_run = remote.one_run(run_id)
      except remotelib.RemoteProcessError:
          if log.getEffectiveLevel() <= logging.DEBUG:
              log.exception(
                  "getting one run %s from %s", run_id, remote.name
              )
          return None
      else:
          remote_run.remote = remote
          return remote_run
  
file_path: guildai/guild/commands/sync_impl.py
imports: import logging
  import time
  from guild import cli
  from guild import click_util
  from guild import remote
  from guild import remote_run_support
  from .None import remote_impl_support
  from .None import runs_impl
label_desc: Use image node_id 6 for calling a global function with example usage: _remote_run(remote, run_id) and returns: remote_run, None