swathipil

Results 23 issues of swathipil

Main changes: - Moving code shared from SDK layer to /_transport/_uamqp_transport.py - Remove _message property and Message construction out of AmqpAnnotatedMessage TODO: - [ ] update uamqp mindependency version after...

Event Hubs

When trying to re-send a received event with a partition key by calling producer.send_batch and passing in a non-matching partition key, the error raised should be [[this one](https://github.com/Azure/azure-sdk-for-python/blob/ea6200cdec48623f5d203638acce09fb6cdacdc2/sdk/eventhub/azure-eventhub/azure/eventhub/_common.py#L614)] and not...

bug
Event Hubs
Client
Messaging

Testing/Typing: - [ ] @swathipil - #26227 - [ ] @kashifkhan - turn on and fix pylint: #25396 - [ ] @swathipil - check all mypy/typing stuff: #25471 - [...

Event Hubs
Client
Epic
Messaging
AMQP Python

fixes: #26229 fixes: #24846 fixes: #24680 Table of kwargs tested are in the issue above. * Most tests added were for EventHubConsumerClient/ProducerClient constructor kwargs. * Added tests for invalid key/policy...

Event Hubs

In [[this line](https://github.com/Azure/azure-sdk-for-python/blob/3711eeb4269214caf70c4f8b034042a9b4b13385/sdk/eventhub/azure-eventhub/azure/eventhub/_transport/_uamqp_transport.py#L127)], we use `any()` to check if the AmqpAnnotatedMessage.header has any values set. However, 0/False/"" are falsy values and therefore not detected as values by any(). Adding an...

When reading from 32 partitions, the sync consumers were taking a long time to connect, b/c the client ready check was happening in a while loop. Each consumer was blocking...

fixes: #27986 changes: - removed duplicate tracing which was adding the `Azure.EventHubs.Message` span twice when sending a batch message/list of messages. - adding the tracing info the uamqp/pyamqp.Message application_properties rather...

Event Hubs

* Confirm that "send span" links should include contexts for all messages being sent. * ([[Original issue](https://github.com/Azure/azure-sdk-for-python/issues/9084)] indicates that this should be true, but implementation does not follow. [[PR](https://github.com/Azure/azure-sdk-for-python/pull/17783)] that...

Event Hubs
Client
Messaging

* update type hints to Python 3 typing * follow typing guide + fix pyright, verify_types, etc. * note for the future: need to update type aliases as well to...

Service Bus
Client
MQ
Messaging