code: def __init__(
      self,
      session_id: ID,
      server_context: ServerContext,
      document: Document,
      logout_url: str | None = None,
  ) -> None:
      self._document = document
      self._session = None
      self._logout_url = logout_url
      super().__init__(server_context, session_id)
      # request arguments used to instantiate this session
      self._request = None
      self._token = None
  
imports: from __future__ import annotations
  import logging
  import weakref
  from typing import TYPE_CHECKING, Any, Awaitable, Callable, Iterable
  from tornado import gen
  from ..application.application import ServerContext, SessionContext
  from ..document import Document
  from ..protocol.exceptions import ProtocolError
  from ..util.token import get_token_payload
  from .session import ServerSession
label_desc: Use image node_id 1 to create a new BokehSessionContext object from inherited base classes: SessionContext with example: obj = BokehSessionContext(session_id, server_context, document, logout_url)