class_docstr: A class for performing operations on the AutoML algorithm runtime at the API level
  
  :param time_for_automl: time for AutoML algorithms in minutes
code: def __init__(self, **time_params):
      self.time_for_automl = time_params.get("time_for_automl")
      self.with_tuning = time_params.get("with_tuning")
  
      self.__define_timeouts_for_stages()
  
      self.composing_spend_time = datetime.timedelta(minutes=0)
  
      self.tuning_spend_time = datetime.timedelta(minutes=0)
  
      self.assumption_fit_spend_time = datetime.timedelta(minutes=0)
  
file_path: FEDOT/fedot/api/time.py
imports: import datetime
  from contextlib import contextmanager
  from typing import Optional
  from fedot.core.constants import COMPOSING_TUNING_PROPORTION, MINIMAL_PIPELINE_NUMBER_FOR_EVALUATION, MINIMAL_SECONDS_FOR_TUNING, MIN_NUMBER_OF_GENERATIONS
label_desc: Use image node_id 1 to create a new ApiTime object  with example: obj = ApiTime()