blob: 0b283b2dbff4c944c9b5724010b96183471a504a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
"""Stub module retained for compatibility.
It retains access to old names whilst sending deprecation warnings.
"""
# pylint: disable=wrong-import-position,unused-import
import warnings
## Throw warning
warnings.warn(
"pythonjsonlogger.jsonlogger has been moved to pythonjsonlogger.json",
DeprecationWarning,
)
## Import names
from .json import JsonFormatter, JsonEncoder
from .core import RESERVED_ATTRS
|