Description
- Package Name: azure-storage-blob
- Package Version: 12.24.1
- Operating System: All
- Python Version: 3.11
Describe the bug
download_blob API is failing with AttributeError: 'RestAsyncioRequestsTransportResponse' object has no attribute 'load_body'
/home/cohesity/.cache/pypoetry/virtualenvs/xxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/core/tracing/decorator_async.py:114: in wrapper_use_tracer return await func(*args, **kwargs) /home/cohesity/.cache/pypoetry/virtualenvsxxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/storage/blob/aio/_blob_client_async.py:746: in download_blob await downloader._setup() # pylint: disable=protected-access /home/cohesity/.cache/pypoetry/virtualenvs/xxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/storage/blob/aio/_download_async.py:328: in _setup self._response = await self._initial_request() /home/cohesity/.cache/pypoetry/virtualenvs/xxxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/storage/blob/aio/_download_async.py:416: in _initial_request self._current_content = await process_content( /home/cohesity/.cache/pypoetry/virtualenvs/xxxxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/storage/blob/aio/_download_async.py:49: in process_content await data.response.load_body() /home/cohesity/.cache/pypoetry/virtualenvs/xxxxxx-6dGAiALT-py3.11/lib/python3.11/site-packages/azure/core/rest/_http_response_impl_async.py:44: in __getattr__ return super().__getattr__(attr)
To Reproduce
Steps to reproduce the behavior:
- Invoke donwload_blob API with AsyncioRequestsTransport
Expected behavior
download_blob API should succeed
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
This succeeds with 12.23.1 but fails with 12.24.x release