Azure / azure-uamqp-python

AMQP 1.0 client library for Python
MIT License
57 stars 48 forks source link

add getstate/setstate to BatchMessage for deepcopy #310

Closed swathipil closed 2 years ago

swathipil commented 2 years ago

following up on this issue: https://github.com/Azure/azure-sdk-for-python/issues/22529

reason: BatchMessage inherits from Message, so it uses inherited __getstate__/__setstate__. __getstate__ calls the state property on the object, which Message has but BatchMessage does not. Overriding __getstate__/__setstate__ on BatchMessage.

swathipil commented 2 years ago

/azp run - azure-uamqp-python - all-tests

azure-pipelines[bot] commented 2 years ago
No pipelines are associated with this pull request.
azure-pipelines[bot] commented 2 years ago
No pipelines are associated with this pull request.