class_docstr: iteration that imports a privious Result for warm starting
code: def __init__(self, Result, config_generator):
      self.is_finished = False
      self.stage = 0
  
      id2conf = Result.get_id2config_mapping()
      delta_t = -max(
          map(
              lambda r: r.time_stamps["finished"], Result.get_all_runs()
          )
      )
  
      super().__init__(-1, [len(id2conf)], [None], None)
  
      for i, id in enumerate(id2conf):
          new_id = self.add_configuration(
              config=id2conf[id]["config"],
              config_info=id2conf[id]["config_info"],
          )
  
          for r in Result.get_runs_by_id(id):
              j = Job(
                  new_id, config=id2conf[id]["config"], budget=r.budget
              )
  
              j.result = {"loss": r.loss, "info": r.info}
              j.error_logs = r.error_logs
  
              for k, v in r.time_stamps.items():
                  j.timestamps[k] = v + delta_t
  
              self.register_result(j, skip_sanity_checks=True)
  
              config_generator.new_result(
                  j, update_model=(i == len(id2conf) - 1)
              )
  
      # mark as finished, as no more runs should be executed from these runs
      self.is_finished = True
  
imports: import sys
  import logging
  import numpy
  import pdb
  from hpbandster.core.dispatcher import Job
label_desc: Use image node_id 1 to create a new WarmStartIteration object from inherited base classes: BaseIteration with example: obj = WarmStartIteration(Result, config_generator)