code: def restore_runs(runs):
      for run in runs:
          src = os.path.join(run.dir)
          dest = os.path.join(runs_dir(), run.id)
          if util.compare_paths(src, dest):
              log.warning("%s is already restored, skipping", run.id)
              continue
          _move(src, dest)
  
imports: import errno
  import functools
  import logging
  import os
  import shutil
  import tempfile
  from guild import config
  from guild import run
  from guild import util
label_desc: Use image node_id 30 for calling a global function with example usage: restore_runs(runs) without return types