code: def restore_runs(self, **opts):
      if not self._deleted_runs_dir:
          raise remotelib.OperationNotSupported()
      self._sync_runs_meta()
      args = click_util.Args(
          archive=self._deleted_runs_dir, remote=None, **opts
      )
      preview = (
          f"You are about to restore the following runs on {self.name}:"
      )
      confirm = "Restore these runs?"
      no_runs_help = "Nothing to restore."
  
      def restore_f(selected):
          self._restore_runs(selected)
          self._sync_runs_meta(force=True)
  
      try:
          runs_impl.runs_op(
              args,
              None,
              preview,
              confirm,
              no_runs_help,
              restore_f,
              confirm_default=True,
          )
      except SystemExit as e:
          self._system_exit_for_remote(e, ["runs restore"])
  
imports: import hashlib
  import logging
  import os
  import re
  from guild import click_util
  from guild import cmd_impl_support
  from guild import remote
  from guild import util
  from guild import var
  from guild.commands import runs_impl
label_desc: Use image node_id 8 for calling the MetaSyncRemote obj's underlying member method code with example usage: obj.restore_runs() without return types