docs: def set_data(self, data):
          """Called from :func:`.reloader.do_reload` to restore the handler's data."""
          for key, val in data.items():
              setattr(self, key, val)
          self.uptime['reloaded'] = datetime.now()