class_docstr: Deprecated and replaced with more flexible MinTrials criterion.
class_docstr_tok: ["Deprecated","and","replaced","with","more","flexible","MinTrials","criterion","."]
code: def __init__(
      self,
      status: TrialStatus,
      threshold: int,
      transition_to: Optional[str] = None,
  ) -> None:
      self.status = status
      self.threshold = threshold
      super().__init__(transition_to=transition_to)
  
imports: from abc import abstractmethod
  from logging import Logger
  from typing import List, Optional, Set
  from ax.core.base_trial import TrialStatus
  from ax.core.experiment import Experiment
  from ax.exceptions.generation_strategy import MaxParallelismReachedException
  from ax.modelbridge.generation_strategy import DataRequiredError
  from ax.utils.common.base import SortableBase
  from ax.utils.common.logger import get_logger
  from ax.utils.common.serialization import SerializationMixin, serialize_init_args
label_desc: Use image node_id 1 to create a new MinimumTrialsInStatus object from inherited base classes: TransitionCriterion with example: obj = MinimumTrialsInStatus(status, threshold, transition_to)