Add __setstate__ and __getstate__ methods to Message so that messages on EventData can be serialized. All public properties must be serialized. This is the first step to be taken for the following issue: https://github.com/Azure/azure-sdk-for-python/issues/15772.
Add
__setstate__
and__getstate__
methods toMessage
so that messages onEventData
can be serialized. All public properties must be serialized. This is the first step to be taken for the following issue: https://github.com/Azure/azure-sdk-for-python/issues/15772.