def restore(self, checkpoint_path: str):
    with open(checkpoint_path, 'rb') as inputFile:
        trials_object = pickle.load(inputFile)
    (experiment_id, self._live_trial_mapping, self._points_to_evaluate) = trials_object
    self.experiment = self.conn.experiments(experiment_id).fetch()
def restore(self, checkpoint_path: str):
    with open(checkpoint_path, 'rb') as inputFile:
        trials_object = pickle.load(inputFile)
    (experiment_id, self._live_trial_mapping, self._points_to_evaluate) = trials_object
    self.experiment = self.conn.experiments(experiment_id).fetch()