class_docstr: Base class for triggering callback on event.
  
  :param callback: (Optional[BaseCallback]) Callback that will be called
      when an event is triggered.
  :param verbose: (int)
class_docstr_tok: ["Base","class","for","triggering","callback","on","event",".",":","param","callback",":","(","Optional","[","BaseCallback","]",")","Callback","that","will","be","called","when","an","event","is","triggered",".",":","param","verbose",":","(","int",")"]
code: def init_callback(self, model: "BaseRLModel") -> None:
      super(EventCallback, self).init_callback(model)
      if self.callback is not None:
          self.callback.init_callback(self.model)
  
imports: import os
  from abc import ABC
  import warnings
  import typing
  from typing import Union, List, Dict, Any, Optional
  import gym
  import numpy
  from stable_baselines.common.vec_env import VecEnv, sync_envs_normalization, DummyVecEnv
  from stable_baselines.common.evaluation import evaluate_policy
  from stable_baselines import logger
label_desc: Use image node_id 2 for calling the EventCallback obj's underlying member method code with example usage: obj.init_callback(model) without return types