code: def __init__(self) -> None:
      self.trials_counter = 0
  
file_path: SMAC3/examples/1_basics/4_callback.py
imports: from __future__ import annotations
  from ConfigSpace import Configuration, ConfigurationSpace, Float
  import smac
  from smac import Callback
  from smac import HyperparameterOptimizationFacade
  from smac import Scenario
  from smac.runhistory import TrialInfo, TrialValue
label_desc: Use image node_id 1 to create a new CustomCallback object from inherited base classes: Callback with example: obj = CustomCallback()