code: def request_restart(self) -> None:
      self.interrupt()
      self.server_command = "restart"
      log.info("Received restart request")
  
imports: import datetime
  import logging
  import threading
  import time
  from modules import errors, shared, devices
  from typing import Optional
label_desc: Use image node_id 7 for calling the State obj's underlying member method code with example usage: obj.request_restart() without return types