code: def warn(
      message: str,
      category: type[Warning] | None = None,
      stacklevel: int | None = None,
  ) -> None:
      if stacklevel is None:
          stacklevel = find_stack_level()
  
      warnings.warn(message, category, stacklevel=stacklevel)
  
file_path: bokeh/src/bokeh/util/warnings.py
imports: from __future__ import annotations
  import logging
  import inspect
  import os
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: warn(message, category, stacklevel) without return types