    def load_state(self, state):
        """Restore state of spawner from database.

        Called for each user's spawner after the hub process restarts.

        `state` is a dict that'll contain the value returned by `get_state` of
        the spawner, or {} if the spawner hasn't persisted any state yet.

        Override in subclasses to restore any extra state that is needed to track
        the single-user server for that user. Subclasses should call super().
        """
Restore state of spawner from database.

Called for each user's spawner after the hub process restarts.

`state` is a dict that'll contain the value returned by `get_state` of
the spawner, or {} if the spawner hasn't persisted any state yet.

Override in subclasses to restore any extra state that is needed to track
the single-user server for that user. Subclasses should call super().
jupyterhub/spawner.py