code: def warn_deprecated(obj, msg, warning_category=FutureWarning):
      """
      Issue the warning message `msg`.
      """
      warnings.warn(
          f"{obj}: {msg}", category=warning_category, stacklevel=2
      )
  
file_path: MONAI/monai/utils/deprecate_utils.py
imports: from __future__ import annotations
  import inspect
  import sys
  import warnings
  from collections.abc import Callable
  from functools import wraps
  from types import FunctionType
  from typing import Any, TypeVar
  from monai.utils.module import version_leq
  from ..None import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: warn_deprecated(obj, msg, warning_category) without return types