Remove note about Azure Storage Python SDK issue 12563, which has been fixed with SDK v12.4.0
This commit is contained in:
Родитель
ad57866d79
Коммит
36d5edacb7
|
@ -384,10 +384,6 @@ def download_blob_to_stream(sas_uri: str) -> Tuple[io.BytesIO, BlobProperties]:
|
|||
|
||||
Raises: azure.core.exceptions.ResourceNotFoundError, if sas_uri points
|
||||
to a non-existant blob
|
||||
|
||||
NOTE: the returned BlobProperties object may have incorrect values for
|
||||
the blob name and container name. This is a bug which has been reported
|
||||
here: https://github.com/Azure/azure-sdk-for-python/issues/12563
|
||||
"""
|
||||
with BlobClient.from_blob_url(sas_uri) as blob_client:
|
||||
output_stream = io.BytesIO()
|
||||
|
|
|
@ -213,11 +213,10 @@ class Tests(unittest.TestCase):
|
|||
self.assertEqual(len(x), 376645)
|
||||
output.close()
|
||||
|
||||
# see https://github.com/Azure/azure-sdk-for-python/issues/12563
|
||||
expected_properties = {
|
||||
'size': 376645,
|
||||
# 'name': PUBLIC_BLOB_NAME,
|
||||
# 'container': 'nacti-unzipped'
|
||||
'name': PUBLIC_BLOB_NAME,
|
||||
'container': 'nacti-unzipped'
|
||||
}
|
||||
|
||||
for k, v in expected_properties.items():
|
||||
|
|
Загрузка…
Ссылка в новой задаче