azure-storage-blob 12.24.0b1__tar.gz → 12.25.0__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.
Files changed (205) hide show
  1. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/CHANGELOG.md +21 -0
  2. {azure_storage_blob-12.24.0b1/azure_storage_blob.egg-info → azure_storage_blob-12.25.0}/PKG-INFO +21 -21
  3. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/README.md +19 -19
  4. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_blob_client.py +6 -3
  5. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_download.py +2 -2
  6. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio → azure_storage_blob-12.25.0/azure/storage/blob/_generated}/__init__.py +9 -3
  7. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/_configuration.py +1 -1
  8. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio/operations → azure_storage_blob-12.25.0/azure/storage/blob/_generated}/_patch.py +2 -8
  9. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/_serialization.py +52 -117
  10. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0/azure/storage/blob/_generated/aio}/__init__.py +9 -3
  11. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/_configuration.py +1 -1
  12. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/models → azure_storage_blob-12.25.0/azure/storage/blob/_generated/aio}/_patch.py +2 -8
  13. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0/azure/storage/blob/_generated/aio}/operations/__init__.py +14 -8
  14. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +17 -15
  15. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_blob_operations.py +55 -52
  16. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +21 -18
  17. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_container_operations.py +41 -38
  18. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +26 -23
  19. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated → azure_storage_blob-12.25.0/azure/storage/blob/_generated/aio}/operations/_patch.py +2 -8
  20. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/operations/_service_operations.py +19 -17
  21. azure_storage_blob-12.25.0/azure/storage/blob/_generated/models/__init__.py +184 -0
  22. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/models/_models_py3.py +4 -5
  23. azure_storage_blob-12.25.0/azure/storage/blob/_generated/models/_patch.py +20 -0
  24. {azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio → azure_storage_blob-12.25.0/azure/storage/blob/_generated}/operations/__init__.py +14 -8
  25. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_append_blob_operations.py +14 -12
  26. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_blob_operations.py +34 -32
  27. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_block_blob_operations.py +16 -14
  28. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_container_operations.py +28 -26
  29. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_page_blob_operations.py +19 -17
  30. azure_storage_blob-12.25.0/azure/storage/blob/_generated/operations/_patch.py +20 -0
  31. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/operations/_service_operations.py +18 -16
  32. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_models.py +1 -1
  33. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_serialize.py +1 -0
  34. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/authentication.py +1 -1
  35. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/base_client.py +1 -1
  36. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/parser.py +2 -10
  37. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/policies_async.py +2 -2
  38. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/request_handlers.py +3 -4
  39. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/response_handlers.py +2 -2
  40. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/shared_access_signature.py +2 -2
  41. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_version.py +1 -1
  42. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_blob_client_async.py +6 -3
  43. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_download_async.py +3 -3
  44. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0/azure_storage_blob.egg-info}/PKG-INFO +21 -21
  45. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/pyproject.toml +1 -0
  46. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/README.md +1 -1
  47. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_authentication.py +4 -0
  48. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_authentication_async.py +4 -0
  49. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_containers.py +4 -0
  50. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_containers_async.py +4 -0
  51. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_copy_blob.py +0 -1
  52. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_copy_blob_async.py +0 -1
  53. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_enumerate_blobs.py +0 -1
  54. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_enumerate_blobs_async.py +0 -1
  55. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/setup.py +1 -1
  56. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_access_conditions.py +2 -2
  57. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_access_conditions_async.py +2 -2
  58. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_service_properties.py +2 -2
  59. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_service_properties_async.py +2 -2
  60. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_tags_async.py +2 -2
  61. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_common_blob.py +54 -0
  62. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_common_blob_async.py +58 -3
  63. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_container.py +7 -7
  64. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_container_async.py +13 -13
  65. azure_storage_blob-12.25.0/tests/test_helpers.py +153 -0
  66. azure_storage_blob-12.25.0/tests/test_helpers_async.py +173 -0
  67. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_page_blob_async.py +4 -4
  68. azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/_patch.py +0 -33
  69. azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/aio/_patch.py +0 -33
  70. azure_storage_blob-12.24.0b1/azure/storage/blob/_generated/models/__init__.py +0 -173
  71. azure_storage_blob-12.24.0b1/tests/test_helpers.py +0 -42
  72. azure_storage_blob-12.24.0b1/tests/test_helpers_async.py +0 -62
  73. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/LICENSE +0 -0
  74. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/MANIFEST.in +0 -0
  75. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/__init__.py +0 -0
  76. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/__init__.py +0 -0
  77. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/__init__.py +0 -0
  78. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_blob_client_helpers.py +0 -0
  79. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_blob_service_client.py +0 -0
  80. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_blob_service_client_helpers.py +0 -0
  81. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_container_client.py +0 -0
  82. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_container_client_helpers.py +0 -0
  83. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_deserialize.py +0 -0
  84. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_encryption.py +0 -0
  85. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/_azure_blob_storage.py +0 -0
  86. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/aio/_azure_blob_storage.py +0 -0
  87. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/models/_azure_blob_storage_enums.py +0 -0
  88. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_generated/py.typed +0 -0
  89. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_lease.py +0 -0
  90. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_list_blobs_helper.py +0 -0
  91. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_quick_query_helper.py +0 -0
  92. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/__init__.py +0 -0
  93. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/__init__.py +0 -0
  94. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/avro_io.py +0 -0
  95. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/avro_io_async.py +0 -0
  96. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/datafile.py +0 -0
  97. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/datafile_async.py +0 -0
  98. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/avro/schema.py +0 -0
  99. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/base_client_async.py +0 -0
  100. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/constants.py +0 -0
  101. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/models.py +0 -0
  102. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/policies.py +0 -0
  103. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/uploads.py +0 -0
  104. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared/uploads_async.py +0 -0
  105. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_shared_access_signature.py +0 -0
  106. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/_upload_helpers.py +0 -0
  107. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/__init__.py +0 -0
  108. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_blob_service_client_async.py +0 -0
  109. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_container_client_async.py +0 -0
  110. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_encryption_async.py +0 -0
  111. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_lease_async.py +0 -0
  112. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_list_blobs_helper.py +0 -0
  113. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_models.py +0 -0
  114. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/aio/_upload_helpers.py +0 -0
  115. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure/storage/blob/py.typed +0 -0
  116. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure_storage_blob.egg-info/SOURCES.txt +0 -0
  117. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure_storage_blob.egg-info/dependency_links.txt +0 -0
  118. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure_storage_blob.egg-info/not-zip-safe +0 -0
  119. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure_storage_blob.egg-info/requires.txt +0 -0
  120. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/azure_storage_blob.egg-info/top_level.txt +0 -0
  121. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/migration_guide.md +0 -0
  122. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_batch_delete_blobs.py +0 -0
  123. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_client_side_encryption.py +0 -0
  124. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_client_side_encryption_keyvault.py +0 -0
  125. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_common.py +0 -0
  126. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_common_async.py +0 -0
  127. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_container_access_policy.py +0 -0
  128. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_container_access_policy_async.py +0 -0
  129. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_directory_interface.py +0 -0
  130. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_directory_interface_mimetype.py +0 -0
  131. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_hello_world.py +0 -0
  132. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_hello_world_async.py +0 -0
  133. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_network_activity_logging.py +0 -0
  134. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_proxy_configuration.py +0 -0
  135. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_query.py +0 -0
  136. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_service.py +0 -0
  137. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_service_async.py +0 -0
  138. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_walk_blob_hierarchy.py +0 -0
  139. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/samples/blob_samples_walk_blob_hierarchy_async.py +0 -0
  140. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/setup.cfg +0 -0
  141. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/avro/__init__.py +0 -0
  142. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/avro/test_avro.py +0 -0
  143. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/avro/test_avro_async.py +0 -0
  144. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/conftest.py +0 -0
  145. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/encryption_test_helper.py +0 -0
  146. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/fake_credentials.py +0 -0
  147. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/__init__.py +0 -0
  148. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/_test_base_legacy.py +0 -0
  149. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/download.py +0 -0
  150. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/list_blobs.py +0 -0
  151. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/upload.py +0 -0
  152. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/upload_block.py +0 -0
  153. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/T1_legacy_tests/upload_from_file.py +0 -0
  154. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/__init__.py +0 -0
  155. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/_test_base.py +0 -0
  156. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/download.py +0 -0
  157. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/key_wrapper.py +0 -0
  158. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/list_blobs.py +0 -0
  159. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/upload.py +0 -0
  160. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/upload_block.py +0 -0
  161. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/perfstress_tests/upload_from_file.py +0 -0
  162. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/settings/__init__.py +0 -0
  163. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/settings/settings_fake.py +0 -0
  164. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/settings/testcase.py +0 -0
  165. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_append_blob.py +0 -0
  166. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_append_blob_async.py +0 -0
  167. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_api_version.py +0 -0
  168. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_api_version_async.py +0 -0
  169. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_client.py +0 -0
  170. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_client_async.py +0 -0
  171. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_encryption.py +0 -0
  172. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_encryption_async.py +0 -0
  173. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_encryption_v2.py +0 -0
  174. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_encryption_v2_async.py +0 -0
  175. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_retry.py +0 -0
  176. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_retry_async.py +0 -0
  177. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_service_stats.py +0 -0
  178. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_service_stats_async.py +0 -0
  179. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_storage_account.py +0 -0
  180. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_storage_account_async.py +0 -0
  181. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_blob_tags.py +0 -0
  182. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_block_blob.py +0 -0
  183. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_block_blob_async.py +0 -0
  184. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_block_blob_sync_copy.py +0 -0
  185. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_block_blob_sync_copy_async.py +0 -0
  186. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_cpk.py +0 -0
  187. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_cpk_async.py +0 -0
  188. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_cpk_n.py +0 -0
  189. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_cpk_n_async.py +0 -0
  190. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_dictmixin.py +0 -0
  191. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_get_blob.py +0 -0
  192. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_get_blob_async.py +0 -0
  193. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_large_block_blob.py +0 -0
  194. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_large_block_blob_async.py +0 -0
  195. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_largest_block_blob.py +0 -0
  196. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_largest_block_blob_async.py +0 -0
  197. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_logging.py +0 -0
  198. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_logging_async.py +0 -0
  199. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_ors.py +0 -0
  200. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_ors_async.py +0 -0
  201. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_page_blob.py +0 -0
  202. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_quick_query.py +0 -0
  203. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_retry.py +0 -0
  204. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_retry_async.py +0 -0
  205. {azure_storage_blob-12.24.0b1 → azure_storage_blob-12.25.0}/tests/test_upload_chunking.py +0 -0
@@ -1,5 +1,26 @@
1
1
  # Release History
2
2
 
3
+ ## 12.25.0 (2025-03-11)
4
+
5
+ ### Features Added
6
+ - Stable release of features from 12.25.0b1
7
+
8
+ ## 12.25.0b1 (2025-02-11)
9
+
10
+ ### Features Added
11
+ - Added support for service version 2025-05-05.
12
+
13
+ ## 12.24.1 (2025-01-22)
14
+
15
+ ### Bugs Fixed
16
+ - Fixed an issue where custom transports may encounter `AttributeError` on certain requests.
17
+ - Fixed an issue where `StorageStreamDownloader(chars=-1)` may not return all data.
18
+
19
+ ## 12.24.0 (2024-11-13)
20
+
21
+ ### Features Added
22
+ - Stable release of features from 12.24.0b1
23
+
3
24
  ## 12.24.0b1 (2024-10-10)
4
25
 
5
26
  ### Features Added
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-storage-blob
3
- Version: 12.24.0b1
3
+ Version: 12.25.0
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
7
7
  Author-email: ascl@microsoft.com
8
8
  License: MIT License
9
9
  Keywords: azure,azure sdk
10
- Classifier: Development Status :: 4 - Beta
10
+ Classifier: Development Status :: 5 - Production/Stable
11
11
  Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
13
  Classifier: Programming Language :: Python :: 3
@@ -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://docs.microsoft.com/azure/storage/)
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://docs.microsoft.com/azure/storage/common/storage-account-overview) to use this package.
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://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal),
66
- [Azure PowerShell](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-powershell),
67
- or [Azure CLI](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-cli):
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://docs.microsoft.com/azure/storage/common/storage-account-overview#storage-account-endpoints),
93
- [Azure PowerShell](https://docs.microsoft.com/powershell/module/az.storage/get-azstorageaccount),
94
- or [Azure CLI](https://docs.microsoft.com/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show):
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://docs.microsoft.com/azure/storage/common/storage-auth) you wish to use:
104
- 1. To use an [Azure Active Directory (AAD) token credential](https://docs.microsoft.com/azure/storage/common/storage-auth-aad),
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://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) and give permissions to access Azure Storage
113
- * [Grant access](https://docs.microsoft.com/azure/storage/common/storage-auth-aad-rbac-portal) to Azure Blob data with RBAC in the Azure Portal
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://docs.microsoft.com/azure/storage/common/storage-sas-overview),
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://docs.microsoft.com/rest/api/storageservices/authenticate-with-shared-key/)
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://docs.microsoft.com/azure/storage/blobs/storage-manage-access-to-resources),
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs)
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-append-blobs)
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-page-blobs)
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://docs.microsoft.com/azure/storage/blobs/) on docs.microsoft.com.
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://docs.microsoft.com/azure/storage/)
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://docs.microsoft.com/azure/storage/common/storage-account-overview) to use this package.
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://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-portal),
37
- [Azure PowerShell](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-powershell),
38
- or [Azure CLI](https://docs.microsoft.com/azure/storage/common/storage-quickstart-create-account?tabs=azure-cli):
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://docs.microsoft.com/azure/storage/common/storage-account-overview#storage-account-endpoints),
64
- [Azure PowerShell](https://docs.microsoft.com/powershell/module/az.storage/get-azstorageaccount),
65
- or [Azure CLI](https://docs.microsoft.com/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-show):
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://docs.microsoft.com/azure/storage/common/storage-auth) you wish to use:
75
- 1. To use an [Azure Active Directory (AAD) token credential](https://docs.microsoft.com/azure/storage/common/storage-auth-aad),
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://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app) and give permissions to access Azure Storage
84
- * [Grant access](https://docs.microsoft.com/azure/storage/common/storage-auth-aad-rbac-portal) to Azure Blob data with RBAC in the Azure Portal
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://docs.microsoft.com/azure/storage/common/storage-sas-overview),
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://docs.microsoft.com/rest/api/storageservices/authenticate-with-shared-key/)
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://docs.microsoft.com/azure/storage/blobs/storage-manage-access-to-resources),
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-block-blobs)
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-append-blobs)
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://docs.microsoft.com/rest/api/storageservices/understanding-block-blobs--append-blobs--and-page-blobs#about-page-blobs)
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://docs.microsoft.com/azure/storage/blobs/) on docs.microsoft.com.
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.
@@ -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 size exceeds
544
- 64MB.
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
- The number of parallel connections with which to download.
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:
@@ -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 None
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 = chars if chars else sys.maxsize
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 ._azure_blob_storage import AzureBlobStorage
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 * # pylint: disable=unused-wildcard-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,name-too-long
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 TYPE_CHECKING
12
-
13
- if TYPE_CHECKING:
14
- # pylint: disable=unused-import,ungrouped-imports
9
+ from typing import List
15
10
 
16
- from typing import List
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():