class_docstr: Load a script which contains server lifecycle callbacks.
  
      
code: def __init__(self) -> None:
      super().__init__()
      self._on_server_loaded = _do_nothing
      self._on_server_unloaded = _do_nothing
      self._on_session_created = _do_nothing
      self._on_session_destroyed = _do_nothing
  
file_path: bokeh/src/bokeh/application/handlers/lifecycle.py
imports: from __future__ import annotations
  import logging
  from typing import Any, Callable
  from ...document import Document
  from ..application import ServerContext, SessionContext
  from .handler import Handler
label_desc: Use image node_id 1 to create a new LifecycleHandler object from inherited base classes: Handler with example: obj = LifecycleHandler()