code: def _sync_remote_run(remote_run):
      assert remote_run.remote
      remote_name = remote_run.remote.name
      pull_args = click_util.Args(remote=remote_name, delete=False)
      try:
          remote_impl_support.pull_runs([remote_run], pull_args)
      except Exception as e:
          if log.getEffectiveLevel() <= logging.DEBUG:
              log.exception(
                  "pull %s from %s", remote_run.id, remote_name
              )
          else:
              log.error(
                  "error pulling %s from %s: %s",
                  remote_run.id,
                  remote_name,
                  e,
              )
  
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 7 for calling a global function with example usage: _sync_remote_run(remote_run) without return types