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://docs.microsoft.com/python/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-python.
Currently autorest generated methods only allow access to the response headers via either:
raw_response_hook
callable.It's therefore difficult to access headers that are an important part of the response. For example, the "etag" returned from
get_resource
operation, as is the case for JobRouter SDK: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/communication/azure-communication-jobrouter/azure/communication/jobrouter/_operations/_operations.py#L1256We need a design to make accessing this feel more integrated into the scenario.