azure-storage-blob 12.24.0b1__tar.gz → 12.25.0b1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/CHANGELOG.md +16 -0
- {azure_storage_blob-12.24.0b1/azure_storage_blob.egg-info → azure_storage_blob-12.25.0b1}/PKG-INFO +20 -20
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/README.md +19 -19
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_blob_client.py +6 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_download.py +2 -2
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated}/__init__.py +9 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/_configuration.py +1 -1
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio/operations → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated}/_patch.py +2 -8
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/_serialization.py +52 -117
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/aio}/__init__.py +9 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/_configuration.py +1 -1
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/models → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/aio}/_patch.py +2 -8
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/aio}/operations/__init__.py +14 -8
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +17 -15
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_blob_operations.py +55 -52
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +21 -18
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_container_operations.py +41 -38
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +26 -23
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/aio}/operations/_patch.py +2 -8
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/operations/_service_operations.py +19 -17
- azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/models/__init__.py +184 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/models/_models_py3.py +4 -5
- azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/models/_patch.py +20 -0
- {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio → azure_storage_blob-12.25.0b1/azure/storage/blob/_generated}/operations/__init__.py +14 -8
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_append_blob_operations.py +14 -12
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_blob_operations.py +34 -32
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_block_blob_operations.py +16 -14
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_container_operations.py +28 -26
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_page_blob_operations.py +19 -17
- azure_storage_blob-12.25.0b1/azure/storage/blob/_generated/operations/_patch.py +20 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/operations/_service_operations.py +18 -16
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_models.py +1 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_serialize.py +1 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/authentication.py +1 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/base_client.py +1 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/parser.py +2 -10
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/policies_async.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/request_handlers.py +3 -4
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/response_handlers.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/shared_access_signature.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_version.py +1 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_blob_client_async.py +6 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_download_async.py +3 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1/azure_storage_blob.egg-info}/PKG-INFO +20 -20
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/pyproject.toml +1 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/README.md +1 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_authentication.py +4 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_authentication_async.py +4 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_containers.py +4 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_containers_async.py +4 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_copy_blob.py +0 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_copy_blob_async.py +0 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_enumerate_blobs.py +0 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_enumerate_blobs_async.py +0 -1
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_access_conditions.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_access_conditions_async.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_service_properties.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_service_properties_async.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_tags_async.py +2 -2
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_common_blob_async.py +58 -3
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_container.py +7 -7
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_container_async.py +13 -13
- azure_storage_blob-12.25.0b1/tests/test_helpers_async.py +174 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_page_blob_async.py +4 -4
- azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/_patch.py +0 -33
- azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio/_patch.py +0 -33
- azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/models/__init__.py +0 -173
- azure_storage_blob-12.24.0b1/tests/test_helpers_async.py +0 -62
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/LICENSE +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/MANIFEST.in +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_blob_client_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_blob_service_client.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_blob_service_client_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_container_client.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_container_client_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_deserialize.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_encryption.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/_azure_blob_storage.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/aio/_azure_blob_storage.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_generated/py.typed +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_lease.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_list_blobs_helper.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_quick_query_helper.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/avro_io.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/avro_io_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/datafile.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/datafile_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/avro/schema.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/base_client_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/constants.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/models.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/policies.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/uploads.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared/uploads_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_shared_access_signature.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_upload_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_blob_service_client_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_container_client_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_encryption_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_lease_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_list_blobs_helper.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_models.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/aio/_upload_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/py.typed +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure_storage_blob.egg-info/SOURCES.txt +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure_storage_blob.egg-info/dependency_links.txt +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure_storage_blob.egg-info/not-zip-safe +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure_storage_blob.egg-info/requires.txt +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure_storage_blob.egg-info/top_level.txt +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/migration_guide.md +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_batch_delete_blobs.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_client_side_encryption.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_client_side_encryption_keyvault.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_common.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_common_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_container_access_policy.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_container_access_policy_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_directory_interface.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_directory_interface_mimetype.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_hello_world.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_hello_world_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_network_activity_logging.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_proxy_configuration.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_query.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_service.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_service_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_walk_blob_hierarchy.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/samples/blob_samples_walk_blob_hierarchy_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/setup.cfg +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/setup.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/avro/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/avro/test_avro.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/avro/test_avro_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/conftest.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/encryption_test_helper.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/fake_credentials.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/download.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/list_blobs.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/upload.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/upload_block.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/T1_legacy_tests/upload_from_file.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/_test_base.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/download.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/key_wrapper.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/list_blobs.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/upload.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/upload_block.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/perfstress_tests/upload_from_file.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/settings/__init__.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/settings/settings_fake.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/settings/testcase.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_append_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_append_blob_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_api_version.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_api_version_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_client.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_client_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_encryption.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_encryption_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_encryption_v2.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_encryption_v2_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_retry.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_retry_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_service_stats.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_service_stats_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_storage_account.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_storage_account_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_blob_tags.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_block_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_block_blob_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_block_blob_sync_copy.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_block_blob_sync_copy_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_common_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_cpk.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_cpk_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_cpk_n.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_cpk_n_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_dictmixin.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_get_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_get_blob_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_helpers.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_large_block_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_large_block_blob_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_largest_block_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_largest_block_blob_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_logging.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_logging_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_ors.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_ors_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_page_blob.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_quick_query.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_retry.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_retry_async.py +0 -0
- {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/tests/test_upload_chunking.py +0 -0
@@ -1,5 +1,21 @@
|
|
1
1
|
# Release History
|
2
2
|
|
3
|
+
## 12.25.0b1 (2025-02-11)
|
4
|
+
|
5
|
+
### Features Added
|
6
|
+
- Added support for service version 2025-05-05.
|
7
|
+
|
8
|
+
## 12.24.1 (2025-01-22)
|
9
|
+
|
10
|
+
### Bugs Fixed
|
11
|
+
- Fixed an issue where custom transports may encounter `AttributeError` on certain requests.
|
12
|
+
- Fixed an issue where `StorageStreamDownloader(chars=-1)` may not return all data.
|
13
|
+
|
14
|
+
## 12.24.0 (2024-11-13)
|
15
|
+
|
16
|
+
### Features Added
|
17
|
+
- Stable release of features from 12.24.0b1
|
18
|
+
|
3
19
|
## 12.24.0b1 (2024-10-10)
|
4
20
|
|
5
21
|
### Features Added
|
{azure_storage_blob-12.24.0b1/azure_storage_blob.egg-info → azure_storage_blob-12.25.0b1}/PKG-INFO
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: azure-storage-blob
|
3
|
-
Version: 12.
|
3
|
+
Version: 12.25.0b1
|
4
4
|
Summary: Microsoft Azure Blob Storage Client Library for Python
|
5
5
|
Home-page: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob
|
6
6
|
Author: Microsoft Corporation
|
@@ -42,7 +42,7 @@ Blob storage is ideal for:
|
|
42
42
|
| [Package (PyPI)](https://pypi.org/project/azure-storage-blob/)
|
43
43
|
| [Package (Conda)](https://anaconda.org/microsoft/azure-storage/)
|
44
44
|
| [API reference documentation](https://aka.ms/azsdk-python-storage-blob-ref)
|
45
|
-
| [Product documentation](https://
|
45
|
+
| [Product documentation](https://learn.microsoft.com/azure/storage/)
|
46
46
|
| [Samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob/samples)
|
47
47
|
|
48
48
|
|
@@ -51,7 +51,7 @@ Blob storage is ideal for:
|
|
51
51
|
### Prerequisites
|
52
52
|
* Python 3.8 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
|
53
53
|
* You must have an [Azure subscription](https://azure.microsoft.com/free/) and an
|
54
|
-
[Azure storage account](https://
|
54
|
+
[Azure storage account](https://learn.microsoft.com/azure/storage/common/storage-account-overview) to use this package.
|
55
55
|
|
56
56
|
### Install the package
|
57
57
|
Install the Azure Storage Blobs client library for Python with [pip](https://pypi.org/project/pip/):
|
@@ -62,9 +62,9 @@ pip install azure-storage-blob
|
|
62
62
|
|
63
63
|
### Create a storage account
|
64
64
|
If you wish to create a new storage account, you can use the
|
65
|
-
[Azure Portal](https://
|
66
|
-
[Azure PowerShell](https://
|
67
|
-
or [Azure CLI](https://
|
65
|
+
[Azure Portal](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal),
|
66
|
+
[Azure PowerShell](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-powershell),
|
67
|
+
or [Azure CLI](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-cli):
|
68
68
|
|
69
69
|
```bash
|
70
70
|
# Create a new resource group to hold the storage account -
|
@@ -89,9 +89,9 @@ service = BlobServiceClient(account_url="https://<my-storage-account-name>.blob.
|
|
89
89
|
|
90
90
|
#### Looking up the account URL
|
91
91
|
You can find the storage account's blob service URL using the
|
92
|
-
[Azure Portal](https://
|
93
|
-
[Azure PowerShell](https://
|
94
|
-
or [Azure CLI](https://
|
92
|
+
[Azure Portal](https://learn.microsoft.com/azure/storage/common/storage-account-overview#storage-account-endpoints),
|
93
|
+
[Azure PowerShell](https://learn.microsoft.com/powershell/module/az.storage/get-azstorageaccount),
|
94
|
+
or [Azure CLI](https://learn.microsoft.com/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show):
|
95
95
|
|
96
96
|
```bash
|
97
97
|
# Get the blob service account url for the storage account
|
@@ -100,8 +100,8 @@ az storage account show -n my-storage-account-name -g my-resource-group --query
|
|
100
100
|
|
101
101
|
#### Types of credentials
|
102
102
|
The `credential` parameter may be provided in a number of different forms, depending on the type of
|
103
|
-
[authorization](https://
|
104
|
-
1. To use an [Azure Active Directory (AAD) token credential](https://
|
103
|
+
[authorization](https://learn.microsoft.com/azure/storage/common/storage-auth) you wish to use:
|
104
|
+
1. To use an [Azure Active Directory (AAD) token credential](https://learn.microsoft.com/azure/storage/common/storage-auth-aad),
|
105
105
|
provide an instance of the desired credential type obtained from the
|
106
106
|
[azure-identity](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials) library.
|
107
107
|
For example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential)
|
@@ -109,8 +109,8 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
109
109
|
|
110
110
|
This requires some initial setup:
|
111
111
|
* [Install azure-identity](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#install-the-package)
|
112
|
-
* [Register a new AAD application](https://
|
113
|
-
* [Grant access](https://
|
112
|
+
* [Register a new AAD application](https://learn.microsoft.com/azure/active-directory/develop/quickstart-register-app) and give permissions to access Azure Storage
|
113
|
+
* [Grant access](https://learn.microsoft.com/azure/storage/common/storage-auth-aad-rbac-portal) to Azure Blob data with RBAC in the Azure Portal
|
114
114
|
* Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:
|
115
115
|
AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET
|
116
116
|
|
@@ -126,7 +126,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
126
126
|
)
|
127
127
|
```
|
128
128
|
|
129
|
-
2. To use a [shared access signature (SAS) token](https://
|
129
|
+
2. To use a [shared access signature (SAS) token](https://learn.microsoft.com/azure/storage/common/storage-sas-overview),
|
130
130
|
provide the token as a string. If your account URL includes the SAS token, omit the credential parameter.
|
131
131
|
You can generate a SAS token from the Azure Portal under "Shared access signature" or use one of the `generate_sas()`
|
132
132
|
functions to create a sas token for the storage account, container, or blob:
|
@@ -146,7 +146,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
146
146
|
blob_service_client = BlobServiceClient(account_url="https://<my_account_name>.blob.core.windows.net", credential=sas_token)
|
147
147
|
```
|
148
148
|
|
149
|
-
3. To use a storage account [shared key](https://
|
149
|
+
3. To use a storage account [shared key](https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key/)
|
150
150
|
(aka account key or access key), provide the key as a string. This can be found in the Azure Portal under the "Access Keys"
|
151
151
|
section or by running the following Azure CLI command:
|
152
152
|
|
@@ -166,7 +166,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
166
166
|
credential={"account_name": "<your_account_name>", "account_key":"<account_access_key>"})
|
167
167
|
```
|
168
168
|
|
169
|
-
4. To use [anonymous public read access](https://
|
169
|
+
4. To use [anonymous public read access](https://learn.microsoft.com/azure/storage/blobs/storage-manage-access-to-resources),
|
170
170
|
simply omit the credential parameter.
|
171
171
|
|
172
172
|
#### Creating the client from a connection string
|
@@ -227,13 +227,13 @@ objects are async context managers and define async `close` methods.
|
|
227
227
|
|
228
228
|
### Blob Types
|
229
229
|
Once you've initialized a Client, you can choose from the different types of blobs:
|
230
|
-
* [Block blobs](https://
|
230
|
+
* [Block blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs)
|
231
231
|
store text and binary data, up to approximately 4.75 TiB. Block blobs are made up of blocks of data that can be
|
232
232
|
managed individually
|
233
|
-
* [Append blobs](https://
|
233
|
+
* [Append blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-append-blobs)
|
234
234
|
are made up of blocks like block blobs, but are optimized for append operations. Append blobs are ideal for scenarios
|
235
235
|
such as logging data from virtual machines
|
236
|
-
* [Page blobs](https://
|
236
|
+
* [Page blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-page-blobs)
|
237
237
|
store random access files up to 8 TiB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for
|
238
238
|
Azure virtual machines
|
239
239
|
|
@@ -490,7 +490,7 @@ Several Storage Blobs Python SDK samples are available to you in the SDK's GitHu
|
|
490
490
|
* Delete a single file or recursively delete a directory
|
491
491
|
|
492
492
|
### Additional documentation
|
493
|
-
For more extensive documentation on Azure Blob storage, see the [Azure Blob storage documentation](https://
|
493
|
+
For more extensive documentation on Azure Blob storage, see the [Azure Blob storage documentation](https://learn.microsoft.com/azure/storage/blobs/) on learn.microsoft.com.
|
494
494
|
|
495
495
|
## Contributing
|
496
496
|
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
@@ -13,7 +13,7 @@ Blob storage is ideal for:
|
|
13
13
|
| [Package (PyPI)](https://pypi.org/project/azure-storage-blob/)
|
14
14
|
| [Package (Conda)](https://anaconda.org/microsoft/azure-storage/)
|
15
15
|
| [API reference documentation](https://aka.ms/azsdk-python-storage-blob-ref)
|
16
|
-
| [Product documentation](https://
|
16
|
+
| [Product documentation](https://learn.microsoft.com/azure/storage/)
|
17
17
|
| [Samples](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/storage/azure-storage-blob/samples)
|
18
18
|
|
19
19
|
|
@@ -22,7 +22,7 @@ Blob storage is ideal for:
|
|
22
22
|
### Prerequisites
|
23
23
|
* Python 3.8 or later is required to use this package. For more details, please read our page on [Azure SDK for Python version support policy](https://github.com/Azure/azure-sdk-for-python/wiki/Azure-SDKs-Python-version-support-policy).
|
24
24
|
* You must have an [Azure subscription](https://azure.microsoft.com/free/) and an
|
25
|
-
[Azure storage account](https://
|
25
|
+
[Azure storage account](https://learn.microsoft.com/azure/storage/common/storage-account-overview) to use this package.
|
26
26
|
|
27
27
|
### Install the package
|
28
28
|
Install the Azure Storage Blobs client library for Python with [pip](https://pypi.org/project/pip/):
|
@@ -33,9 +33,9 @@ pip install azure-storage-blob
|
|
33
33
|
|
34
34
|
### Create a storage account
|
35
35
|
If you wish to create a new storage account, you can use the
|
36
|
-
[Azure Portal](https://
|
37
|
-
[Azure PowerShell](https://
|
38
|
-
or [Azure CLI](https://
|
36
|
+
[Azure Portal](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal),
|
37
|
+
[Azure PowerShell](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-powershell),
|
38
|
+
or [Azure CLI](https://learn.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-cli):
|
39
39
|
|
40
40
|
```bash
|
41
41
|
# Create a new resource group to hold the storage account -
|
@@ -60,9 +60,9 @@ service = BlobServiceClient(account_url="https://<my-storage-account-name>.blob.
|
|
60
60
|
|
61
61
|
#### Looking up the account URL
|
62
62
|
You can find the storage account's blob service URL using the
|
63
|
-
[Azure Portal](https://
|
64
|
-
[Azure PowerShell](https://
|
65
|
-
or [Azure CLI](https://
|
63
|
+
[Azure Portal](https://learn.microsoft.com/azure/storage/common/storage-account-overview#storage-account-endpoints),
|
64
|
+
[Azure PowerShell](https://learn.microsoft.com/powershell/module/az.storage/get-azstorageaccount),
|
65
|
+
or [Azure CLI](https://learn.microsoft.com/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show):
|
66
66
|
|
67
67
|
```bash
|
68
68
|
# Get the blob service account url for the storage account
|
@@ -71,8 +71,8 @@ az storage account show -n my-storage-account-name -g my-resource-group --query
|
|
71
71
|
|
72
72
|
#### Types of credentials
|
73
73
|
The `credential` parameter may be provided in a number of different forms, depending on the type of
|
74
|
-
[authorization](https://
|
75
|
-
1. To use an [Azure Active Directory (AAD) token credential](https://
|
74
|
+
[authorization](https://learn.microsoft.com/azure/storage/common/storage-auth) you wish to use:
|
75
|
+
1. To use an [Azure Active Directory (AAD) token credential](https://learn.microsoft.com/azure/storage/common/storage-auth-aad),
|
76
76
|
provide an instance of the desired credential type obtained from the
|
77
77
|
[azure-identity](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#credentials) library.
|
78
78
|
For example, [DefaultAzureCredential](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#defaultazurecredential)
|
@@ -80,8 +80,8 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
80
80
|
|
81
81
|
This requires some initial setup:
|
82
82
|
* [Install azure-identity](https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/identity/azure-identity#install-the-package)
|
83
|
-
* [Register a new AAD application](https://
|
84
|
-
* [Grant access](https://
|
83
|
+
* [Register a new AAD application](https://learn.microsoft.com/azure/active-directory/develop/quickstart-register-app) and give permissions to access Azure Storage
|
84
|
+
* [Grant access](https://learn.microsoft.com/azure/storage/common/storage-auth-aad-rbac-portal) to Azure Blob data with RBAC in the Azure Portal
|
85
85
|
* Set the values of the client ID, tenant ID, and client secret of the AAD application as environment variables:
|
86
86
|
AZURE_TENANT_ID, AZURE_CLIENT_ID, AZURE_CLIENT_SECRET
|
87
87
|
|
@@ -97,7 +97,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
97
97
|
)
|
98
98
|
```
|
99
99
|
|
100
|
-
2. To use a [shared access signature (SAS) token](https://
|
100
|
+
2. To use a [shared access signature (SAS) token](https://learn.microsoft.com/azure/storage/common/storage-sas-overview),
|
101
101
|
provide the token as a string. If your account URL includes the SAS token, omit the credential parameter.
|
102
102
|
You can generate a SAS token from the Azure Portal under "Shared access signature" or use one of the `generate_sas()`
|
103
103
|
functions to create a sas token for the storage account, container, or blob:
|
@@ -117,7 +117,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
117
117
|
blob_service_client = BlobServiceClient(account_url="https://<my_account_name>.blob.core.windows.net", credential=sas_token)
|
118
118
|
```
|
119
119
|
|
120
|
-
3. To use a storage account [shared key](https://
|
120
|
+
3. To use a storage account [shared key](https://learn.microsoft.com/rest/api/storageservices/authenticate-with-shared-key/)
|
121
121
|
(aka account key or access key), provide the key as a string. This can be found in the Azure Portal under the "Access Keys"
|
122
122
|
section or by running the following Azure CLI command:
|
123
123
|
|
@@ -137,7 +137,7 @@ The `credential` parameter may be provided in a number of different forms, depen
|
|
137
137
|
credential={"account_name": "<your_account_name>", "account_key":"<account_access_key>"})
|
138
138
|
```
|
139
139
|
|
140
|
-
4. To use [anonymous public read access](https://
|
140
|
+
4. To use [anonymous public read access](https://learn.microsoft.com/azure/storage/blobs/storage-manage-access-to-resources),
|
141
141
|
simply omit the credential parameter.
|
142
142
|
|
143
143
|
#### Creating the client from a connection string
|
@@ -198,13 +198,13 @@ objects are async context managers and define async `close` methods.
|
|
198
198
|
|
199
199
|
### Blob Types
|
200
200
|
Once you've initialized a Client, you can choose from the different types of blobs:
|
201
|
-
* [Block blobs](https://
|
201
|
+
* [Block blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs)
|
202
202
|
store text and binary data, up to approximately 4.75 TiB. Block blobs are made up of blocks of data that can be
|
203
203
|
managed individually
|
204
|
-
* [Append blobs](https://
|
204
|
+
* [Append blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-append-blobs)
|
205
205
|
are made up of blocks like block blobs, but are optimized for append operations. Append blobs are ideal for scenarios
|
206
206
|
such as logging data from virtual machines
|
207
|
-
* [Page blobs](https://
|
207
|
+
* [Page blobs](https://learn.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-page-blobs)
|
208
208
|
store random access files up to 8 TiB in size. Page blobs store virtual hard drive (VHD) files and serve as disks for
|
209
209
|
Azure virtual machines
|
210
210
|
|
@@ -461,7 +461,7 @@ Several Storage Blobs Python SDK samples are available to you in the SDK's GitHu
|
|
461
461
|
* Delete a single file or recursively delete a directory
|
462
462
|
|
463
463
|
### Additional documentation
|
464
|
-
For more extensive documentation on Azure Blob storage, see the [Azure Blob storage documentation](https://
|
464
|
+
For more extensive documentation on Azure Blob storage, see the [Azure Blob storage documentation](https://learn.microsoft.com/azure/storage/blobs/) on learn.microsoft.com.
|
465
465
|
|
466
466
|
## Contributing
|
467
467
|
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.
|
{azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_blob_client.py
RENAMED
@@ -540,8 +540,9 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
540
540
|
value specified in this header, the request will fail with
|
541
541
|
MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).
|
542
542
|
:keyword int max_concurrency:
|
543
|
-
Maximum number of parallel connections to use when the blob
|
544
|
-
|
543
|
+
Maximum number of parallel connections to use when transferring the blob in chunks.
|
544
|
+
This option does not affect the underlying connection pool, and may
|
545
|
+
require a separate configuration of the connection pool.
|
545
546
|
:keyword ~azure.storage.blob.CustomerProvidedEncryptionKey cpk:
|
546
547
|
Encrypts the data on the service-side with the given key.
|
547
548
|
Use of customer-provided keys must be done over HTTPS.
|
@@ -695,7 +696,9 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
|
|
695
696
|
As the encryption key itself is provided in the request,
|
696
697
|
a secure connection must be established to transfer the key.
|
697
698
|
:keyword int max_concurrency:
|
698
|
-
|
699
|
+
Maximum number of parallel connections to use when transferring the blob in chunks.
|
700
|
+
This option does not affect the underlying connection pool, and may
|
701
|
+
require a separate configuration of the connection pool.
|
699
702
|
:keyword Optional[str] encoding:
|
700
703
|
Encoding to decode the downloaded bytes. Default is None, i.e. no decoding.
|
701
704
|
:keyword progress_hook:
|
{azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0b1}/azure/storage/blob/_download.py
RENAMED
@@ -116,7 +116,7 @@ class _ChunkDownloader(object): # pylint: disable=too-many-instance-attributes
|
|
116
116
|
|
117
117
|
# For a parallel download, the stream is always seekable, so we note down the current position
|
118
118
|
# in order to seek to the right place when out-of-order chunks come in
|
119
|
-
self.stream_start = stream.tell() if parallel else
|
119
|
+
self.stream_start = stream.tell() if parallel else 0
|
120
120
|
|
121
121
|
# Download progress so far
|
122
122
|
self.progress_total = current_progress
|
@@ -656,7 +656,7 @@ class StorageStreamDownloader(Generic[T]): # pylint: disable=too-many-instance-
|
|
656
656
|
output_stream: Union[BytesIO, StringIO]
|
657
657
|
if self._text_mode:
|
658
658
|
output_stream = StringIO()
|
659
|
-
size =
|
659
|
+
size = sys.maxsize if chars is None or chars <= 0 else chars
|
660
660
|
else:
|
661
661
|
output_stream = BytesIO()
|
662
662
|
size = size if size > 0 else sys.maxsize
|
@@ -5,12 +5,18 @@
|
|
5
5
|
# Code generated by Microsoft (R) AutoRest Code Generator.
|
6
6
|
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
7
7
|
# --------------------------------------------------------------------------
|
8
|
+
# pylint: disable=wrong-import-position
|
8
9
|
|
9
|
-
from
|
10
|
+
from typing import TYPE_CHECKING
|
11
|
+
|
12
|
+
if TYPE_CHECKING:
|
13
|
+
from ._patch import * # pylint: disable=unused-wildcard-import
|
14
|
+
|
15
|
+
from ._azure_blob_storage import AzureBlobStorage # type: ignore
|
10
16
|
|
11
17
|
try:
|
12
18
|
from ._patch import __all__ as _patch_all
|
13
|
-
from ._patch import *
|
19
|
+
from ._patch import *
|
14
20
|
except ImportError:
|
15
21
|
_patch_all = []
|
16
22
|
from ._patch import patch_sdk as _patch_sdk
|
@@ -18,6 +24,6 @@ from ._patch import patch_sdk as _patch_sdk
|
|
18
24
|
__all__ = [
|
19
25
|
"AzureBlobStorage",
|
20
26
|
]
|
21
|
-
__all__.extend([p for p in _patch_all if p not in __all__])
|
27
|
+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
|
22
28
|
|
23
29
|
_patch_sdk()
|
@@ -13,7 +13,7 @@ from azure.core.pipeline import policies
|
|
13
13
|
VERSION = "unknown"
|
14
14
|
|
15
15
|
|
16
|
-
class AzureBlobStorageConfiguration: # pylint: disable=too-many-instance-attributes
|
16
|
+
class AzureBlobStorageConfiguration: # pylint: disable=too-many-instance-attributes
|
17
17
|
"""Configuration for AzureBlobStorage.
|
18
18
|
|
19
19
|
Note that all parameters used to create this instance are saved as instance
|
@@ -2,19 +2,13 @@
|
|
2
2
|
# Copyright (c) Microsoft Corporation.
|
3
3
|
# Licensed under the MIT License.
|
4
4
|
# ------------------------------------
|
5
|
-
|
6
|
-
|
7
5
|
"""Customize generated code here.
|
8
6
|
|
9
7
|
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize
|
10
8
|
"""
|
11
|
-
from typing import
|
12
|
-
|
13
|
-
if TYPE_CHECKING:
|
14
|
-
# pylint: disable=unused-import,ungrouped-imports
|
9
|
+
from typing import List
|
15
10
|
|
16
|
-
|
17
|
-
__all__ = [] # type: List[str] # Add all objects you want publicly available to users at this package level
|
11
|
+
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level
|
18
12
|
|
19
13
|
|
20
14
|
def patch_sdk():
|