class_docstr: In-memory container for the trials that the algorithm suggests/observes/etc.
  
  This behaves a bit like a managed dictionary, but the "keys" are trials ids, which
  (at the time of writing) can vary depending on how we chose to compute them.
class_docstr_tok: ["In-memory","container","for","the","trials","that","the","algorithm","suggests\/observes\/etc",".","This","behaves","a","bit","like","a","managed","dictionary",",","but","the","``","keys","''","are","trials","ids",",","which","(","at","the","time","of","writing",")","can","vary","depending","on","how","we","chose","to","compute","them","."]
code: def __init__(self, trials: Iterable[Trial] = ()):
      self._trials: dict[str, Trial] = {}
      for trial in trials:
          self.register(trial)
  
imports: from __future__ import annotations
  import copy
  from collections import defaultdict
  from logging import getLogger
  from typing import Any, Container, Iterable, Iterator, Mapping
  from orion.core.worker.trial import Trial, TrialCM
label_desc: Use image node_id 1 to create a new Registry object from inherited base classes: Container with example: obj = Registry(trials)