class_docstr: A mixin class to provide an interface for registering and
  triggering event callbacks on the Python side.
class_docstr_tok: ["A","mixin","class","to","provide","an","interface","for","registering","and","triggering","event","callbacks","on","the","Python","side","."]
code: def _update_event_callbacks(self) -> None:
      if self.document is None:
          return
  
      for key in self._event_callbacks:
          from ..model import Model
  
          self.document.callbacks.subscribe(key, cast(Model, self))
  
file_path: bokeh/src/bokeh/util/callback_manager.py
imports: from __future__ import annotations
  import logging
  from collections import defaultdict
  from inspect import signature
  from typing import TYPE_CHECKING, Any, Callable, Sequence, Union, cast
  from ..events import Event, ModelEvent
  from ..util.functions import get_param_info
label_desc: Use image node_id 4 for calling the EventCallbackManager obj's underlying member method code with example usage: obj._update_event_callbacks() without return types