Azure / azure-storage-python

Microsoft Azure Storage Library for Python
https://azure-storage.readthedocs.io
MIT License
339 stars 241 forks source link

blob_size is undefined in baseblobservice #675

Open Mossaka opened 4 years ago

Mossaka commented 4 years ago

Which service(blob, file, queue) does this issue concern?

blob

Which version of the SDK was used? Please provide the output of pip freeze.

v2.1.0

What problem was encountered?

blob_size is undefined in line 2212 in azure-storage-python/azure-storage-blob/azure/storage/blob/baseblobservice.py

Have you found a mitigation/solution?

Maybe we also set blob_size in the except branch in line 2189 and so we have it defined in both cases.

Note: for table service, please post the issue here instead: https://github.com/Azure/azure-cosmosdb-python.