1from .internal.encoding import JSONEncoder 2from .internal.encoding import JSONEncoderV2 3from .internal.encoding import MsgpackEncoderV03 as MsgpackEncoder 4from .internal.utils.deprecation import deprecation 5 6 7Encoder = MsgpackEncoder 8 9 10__all__ = ( 11 "Encoder", 12 "JSONEncoder", 13 "JSONEncoderV2", 14 "MsgpackEncoder", 15) 16 17 18deprecation( 19 name="ddtrace.encoding", 20 message="The encoding module has been moved to ddtrace.internal and will no longer be part of the public API.", 21 version="1.0.0", 22) 23