class_docstr: Produce suggested sets of problem's parameter space to try out.
  
  It uses an `Experiment`s `BaseAlgorithm` object to observe trial results
  and suggest new trials of the parameter `Space` to be evaluated. The producer
  is the bridge between the storage and the algorithm.
docstr: Initialize a producer.
  
  :param experiment: Manager of this experiment, provides convenient
     interface for interacting with the database.
docstr_tok: ["Initialize","a","producer",".",":","param","experiment",":","Manager","of","this","experiment",",","provides","convenient","interface","for","interacting","with","the","database","."]
code: def __init__(self, experiment: Experiment[AlgoT]):
      """Initialize a producer.
  
      :param experiment: Manager of this experiment, provides convenient
         interface for interacting with the database.
      """
      log.debug("Creating Producer object.")
      self.experiment = experiment
      # Indicates whether the algo has been warm-started with the knowledge base.
      self.warm_started = False
  
file_path: orion/src/orion/core/worker/producer.py
imports: from __future__ import annotations
  import logging
  import typing
  from orion.core.io.database import DuplicateKeyError
  from orion.core.worker.experiment import AlgoT
  from orion.core.worker.warm_start.warm_starteable import is_warmstarteable
label_desc: Use image node_id 1 to create a new Producer object  with example: obj = Producer(experiment)