code: def __init__(self, callbacks: List[FlashCallback]):
      self._callbacks = callbacks
  
imports: from contextlib import contextmanager
  from typing import Any, List, Sequence
  from pytorch_lightning.callbacks import Callback
  from torch import Tensor
  import flash
  from flash.core.data.utils import _STAGES_PREFIX
  from flash.core.utilities.stages import RunningStage
label_desc: Use image node_id 1 to create a new ControlFlow object from inherited base classes: FlashCallback with example: obj = ControlFlow(callbacks)