code: def __init__(self, params={}):
      super(TotalTimeConstraint, self).__init__(params)
      self.name = params.get("name", "total_time_constraint")
      self.total_time_limit = params.get("total_time_limit")
      self.total_time_start = params.get("total_time_start")
      self.expected_learners_cnt = params.get(
          "expected_learners_cnt", 1
      )
  
file_path: mljar-supervised/supervised/callbacks/total_time_constraint.py
imports: import logging
  import time
  import numpy
  from supervised.callbacks.callback import Callback
  from supervised.exceptions import NotTrainedException
  from supervised.utils.config import LOG_LEVEL
label_desc: Use image node_id 1 to create a new TotalTimeConstraint object from inherited base classes: Callback with example: obj = TotalTimeConstraint(params)