code: def show_deprecation_warning(message: str) -> None:
      """Show a deprecation warning message."""
      if _should_show_deprecation_warning_in_browser():
          streamlit.warning(message)
  
      # We always log deprecation warnings
      _LOGGER.warning(message)
  
file_path: streamlit/lib/streamlit/deprecation_util.py
imports: from __future__ import annotations
  import functools
  from typing import Any, Callable, List, TypeVar, cast
  import streamlit
  from streamlit import config
  from streamlit.logger import get_logger
label_desc: Use image node_id 2 for calling a global function with example usage: show_deprecation_warning(message) without return types