class_docstr: Wrapper that calls `suggest` a few times until the wrapped algo produces a new trial.
code: def set_state(self, state_dict: dict) -> None:
      # NOTE: We don't reset the state of the registry here.
      # self.registry.set_state(state_dict["registry"])
      self.algorithm.set_state(copy.deepcopy(state_dict["algorithm"]))
      # Effectively copy the wrapped algorithm's registry into ours.
      self.registry.set_state(self.algorithm.registry.state_dict)
  
file_path: orion/src/orion/core/worker/algo_wrappers/insist_suggest.py
imports: from __future__ import annotations
  import copy
  from logging import getLogger
  from orion.algo.space import Space
  from orion.core.worker.algo_wrappers.algo_wrapper import AlgoT, AlgoWrapper
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 3 for calling the InsistSuggest obj's underlying member method code with example usage: obj.set_state(state_dict) without return types