code: def __init__(self, f: SMACCallback):
      self.f = f
  
file_path: auto-sklearn/autosklearn/util/smac_wrap.py
imports: from __future__ import annotations
  from typing import Callable, Union
  from smac.callbacks import IncorporateRunResultCallback
  from smac.optimizer.smbo import SMBO
  from smac.runhistory.runhistory import RunInfo, RunValue
label_desc: Use image node_id 1 to create a new SmacRunCallback object from inherited base classes: IncorporateRunResultCallback with example: obj = SmacRunCallback(f)