I fixed it, so the question is not relevant anylonger. How can i delete the question?
How to get_blob_to_bytes from a Azure Storage Queue using BlobServiceClient, when upgrading from BlockBlobService?
In an python azure function, we have used BlockBlobService, and BlockBlobService.get_blob_to_bytes when consuming messages from a queue.
The azure function stopped working and need's upgrade (to V4). I have found the following explanation on how to do it: https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/storage/azure-storage-blob/migration_guide.md#download-blob
This guide is probably all well and fine if one is consuming from a Container in a StorageAccount, but its my understanding that our solution consumes messages from a Queue.
How can i consume messages from a Queue and use get_blob_to_bytes on that consumed messages?
(I also looked into the Queue client, is that an optional way of doing it?`)
Packages
applicationinsights 0.11.10
azure-core 1.26.4
azure-functions 1.13.3
azure-storage-blob 12.16.0
azure-storage-queue 12.6.0
certifi 2022.12.7
cffi 1.15.1
cftime 1.6.2
charset-normalizer 3.1.0
colorama 0.4.6
cryptography 40.0.1
exceptiongroup 1.1.1
idna 3.4
iniconfig 2.0.0
install 1.3.5
isodate 0.6.1
netCDF4 1.6.3
numpy 1.24.2
packaging 23.1
pandas 1.5.3
pip 23.0.1
pluggy 1.0.0
pyarrow 11.0.0
pycparser 2.21
pytest 7.3.0
python-dateutil 2.8.2
pytz 2023.3
requests 2.28.2
setuptools 49.2.1
six 1.16.0
tomli 2.0.1
typing_extensions 4.5.0
tzdata 2023.3
urllib3 1.26.15
xarray 2023.3.0