Azure / azure-sdk-for-python

This repository is for active development of the Azure SDK for Python. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
MIT License
4.63k stars 2.84k forks source link

[Cosmos] custom transport prep work #38640

Open simorenoh opened 11 hours ago

simorenoh commented 11 hours ago

Follow-up to https://github.com/Azure/azure-sdk-for-python/pull/37419, which I had previously closed.

As part of the HTTP/2 readiness for the SDK, in order to handle custom transports, there was a couple things we had to do:

With these changes we ensure our SDK is HTTP/2 ready.

Also took the opportunity to update our logs to reflect what it should actually have looked like for the logger setup to work as expected when used on a per-request basis - just having the logger named azure would make it a parent that would log all of the requests due to the policy's call to super.__init__().

azure-sdk commented 10 hours ago

API change check

API changes are not detected in this pull request.