docs: def warn_deprecated(message, stacklevel=2):  # pragma: no cover
      """Warn deprecated."""
  
      warnings.warn(
          message,
          category=DeprecationWarning,
          stacklevel=stacklevel
      )