json.py 394 B

12345678910111213
  1. import typing as t
  2. import warnings
  3. class JSONMixin:
  4. def __init__(self, *args: t.Any, **kwargs: t.Any) -> None:
  5. warnings.warn(
  6. "'JSONMixin' is deprecated and will be removed in Werkzeug"
  7. " 2.1. 'Request' now includes the functionality directly.",
  8. DeprecationWarning,
  9. stacklevel=2,
  10. )
  11. super().__init__(*args, **kwargs)