code: def deprecated(
      since_or_msg: Version,
      old: str,
      new: str,
      extra: str | None = None,
  ) -> None:
      ...
  
imports: from __future__ import annotations
  import logging
  from typing import TYPE_CHECKING, overload
  from .warnings import BokehDeprecationWarning, warn
label_desc: Use image node_id 1 for calling a global function with example usage: deprecated(since_or_msg, old, new, extra) without return types