azure-storage-blob 12.24.0__py3-none-any.whl → 12.24.0b1__py3-none-any.whl

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.
@@ -540,9 +540,8 @@ 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 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.
543
+ Maximum number of parallel connections to use when the blob size exceeds
544
+ 64MB.
546
545
  :keyword ~azure.storage.blob.CustomerProvidedEncryptionKey cpk:
547
546
  Encrypts the data on the service-side with the given key.
548
547
  Use of customer-provided keys must be done over HTTPS.
@@ -696,9 +695,7 @@ class BlobClient(StorageAccountHostsMixin, StorageEncryptionMixin): # pylint: d
696
695
  As the encryption key itself is provided in the request,
697
696
  a secure connection must be established to transfer the key.
698
697
  :keyword int max_concurrency:
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.
698
+ The number of parallel connections with which to download.
702
699
  :keyword Optional[str] encoding:
703
700
  Encoding to decode the downloaded bytes. Default is None, i.e. no decoding.
704
701
  :keyword progress_hook:
@@ -4,11 +4,12 @@
4
4
  # license information.
5
5
  # --------------------------------------------------------------------------
6
6
 
7
+ from typing import Dict, Optional
8
+
7
9
  import logging
10
+ from os import fstat
8
11
  import stat
9
12
  from io import (SEEK_END, SEEK_SET, UnsupportedOperation)
10
- from os import fstat
11
- from typing import Dict, Optional
12
13
 
13
14
  import isodate
14
15
 
@@ -60,9 +60,9 @@ def normalize_headers(headers):
60
60
 
61
61
  def deserialize_metadata(response, obj, headers): # pylint: disable=unused-argument
62
62
  try:
63
- raw_metadata = {k: v for k, v in response.http_response.headers.items() if k.lower().startswith('x-ms-meta-')}
63
+ raw_metadata = {k: v for k, v in response.http_response.headers.items() if k.startswith("x-ms-meta-")}
64
64
  except AttributeError:
65
- raw_metadata = {k: v for k, v in response.headers.items() if k.lower().startswith('x-ms-meta-')}
65
+ raw_metadata = {k: v for k, v in response.headers.items() if k.startswith("x-ms-meta-")}
66
66
  return {k[10:]: v for k, v in raw_metadata.items()}
67
67
 
68
68
 
@@ -4,4 +4,4 @@
4
4
  # license information.
5
5
  # --------------------------------------------------------------------------
6
6
 
7
- VERSION = "12.24.0"
7
+ VERSION = "12.24.0b1"
@@ -530,9 +530,8 @@ class BlobClient(AsyncStorageAccountHostsMixin, StorageAccountHostsMixin, Storag
530
530
  value specified in this header, the request will fail with
531
531
  MaxBlobSizeConditionNotMet error (HTTP status code 412 - Precondition Failed).
532
532
  :keyword int max_concurrency:
533
- Maximum number of parallel connections to use when transferring the blob in chunks.
534
- This option does not affect the underlying connection pool, and may
535
- require a separate configuration of the connection pool.
533
+ Maximum number of parallel connections to use when the blob size exceeds
534
+ 64MB.
536
535
  :keyword ~azure.storage.blob.CustomerProvidedEncryptionKey cpk:
537
536
  Encrypts the data on the service-side with the given key.
538
537
  Use of customer-provided keys must be done over HTTPS.
@@ -688,9 +687,7 @@ class BlobClient(AsyncStorageAccountHostsMixin, StorageAccountHostsMixin, Storag
688
687
  As the encryption key itself is provided in the request,
689
688
  a secure connection must be established to transfer the key.
690
689
  :keyword int max_concurrency:
691
- Maximum number of parallel connections to use when transferring the blob in chunks.
692
- This option does not affect the underlying connection pool, and may
693
- require a separate configuration of the connection pool.
690
+ The number of parallel connections with which to download.
694
691
  :keyword str encoding:
695
692
  Encoding to decode the downloaded bytes. Default is None, i.e. no decoding.
696
693
  :keyword progress_hook:
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-storage-blob
3
- Version: 12.24.0
3
+ Version: 12.24.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
7
7
  Author-email: ascl@microsoft.com
8
8
  License: MIT License
9
9
  Keywords: azure,azure sdk
10
- Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Development Status :: 4 - Beta
11
11
  Classifier: Programming Language :: Python
12
12
  Classifier: Programming Language :: Python :: 3 :: Only
13
13
  Classifier: Programming Language :: Python :: 3
@@ -1,5 +1,5 @@
1
1
  azure/storage/blob/__init__.py,sha256=2i-4BEmEBQ_qSjF2BfwSyrZXr2s75WgoZlQ6BY8loxI,10694
2
- azure/storage/blob/_blob_client.py,sha256=LAECeCpfRYcomuqN1IwobxeENl0KjW5K5jNFuUI0u-I,186799
2
+ azure/storage/blob/_blob_client.py,sha256=Sam-q9xrObpYf1AYbd-2BUeWmWdD1jhcgyd4VxLa5nc,186483
3
3
  azure/storage/blob/_blob_client_helpers.py,sha256=-6jDMJB0aUFg7my8WjujiZMkCfU8-0NR3V1_qD9BafE,52033
4
4
  azure/storage/blob/_blob_service_client.py,sha256=R2LlyarEBRKMSxkijtysTtBdERQHS05S5rf4e918yQ4,40331
5
5
  azure/storage/blob/_blob_service_client_helpers.py,sha256=8jNCrF5rsgdJyAJQTdRR_mcOYuDCw4Nt9AirZk2RYUY,997
@@ -15,7 +15,7 @@ azure/storage/blob/_quick_query_helper.py,sha256=HO6ufvSEWQSaFJ4CanujE4IN7FYB6y1
15
15
  azure/storage/blob/_serialize.py,sha256=0pcX1eJKXbvjSVugLmUG8ST5GW0M93oZXE6fPy7Yh38,8164
16
16
  azure/storage/blob/_shared_access_signature.py,sha256=bE5Nk68_S3jNZwpGKSu3vQEBmWfOahMz763E7F5Af3g,35316
17
17
  azure/storage/blob/_upload_helpers.py,sha256=-ZpqzST-wFdWqCm_I4oWGLTMQ5N0aYb3RHxaMvmf9Q4,14688
18
- azure/storage/blob/_version.py,sha256=zolSUgYkjYx-GGYhGn4DDeHFsoEwichQda7u5C10NIw,331
18
+ azure/storage/blob/_version.py,sha256=_7KfnwRz43rfPQszo26-ca05_f8lKuXgJvSB1OmrDEg,333
19
19
  azure/storage/blob/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  azure/storage/blob/_generated/__init__.py,sha256=J2H2yiFhRSsMCNKUI7gaYFIQ4_AAbWjPtzXdOsHFQFI,835
21
21
  azure/storage/blob/_generated/_azure_blob_storage.py,sha256=7sOmpoyQp3IPkihUSt7aYI0k24heUthmUvcPuN5nxjQ,5737
@@ -56,8 +56,8 @@ azure/storage/blob/_shared/models.py,sha256=hhTqxdmwoQgSFwM6MVxefW1MINquwP7hVg2w
56
56
  azure/storage/blob/_shared/parser.py,sha256=ACpdtwf6lhzmA0ukT3PmxpGVpimVXTy_mMSdixC55R8,1955
57
57
  azure/storage/blob/_shared/policies.py,sha256=efaZtY3M0fzJj-bwBGCGrToOkZi-0DEk_FZ8DPgMVNs,30777
58
58
  azure/storage/blob/_shared/policies_async.py,sha256=2qJHG9dkDLT2ecSfk5xNOobna-zp8VdUJ8pSf5KPJy4,13462
59
- azure/storage/blob/_shared/request_handlers.py,sha256=LSsoITOE2JOdSUzB0iTdZAxwTH1EDtblcHeqcGlWjV8,9754
60
- azure/storage/blob/_shared/response_handlers.py,sha256=S8S8RU2GCh5EtLdO_CjenzpDKexxa3y9FN60mXmML9o,9206
59
+ azure/storage/blob/_shared/request_handlers.py,sha256=0G9eyzMY_8BlLfHA6jbJF75ENcu3xqZ33bHfSRi9HTM,9755
60
+ azure/storage/blob/_shared/response_handlers.py,sha256=wqZ1hGRDTwh3GkRB0gPSjgm_7TP2quZc_ex4pYThW-8,9190
61
61
  azure/storage/blob/_shared/shared_access_signature.py,sha256=ov8h9CStKwlfZBtlj54jeckpzuVjYcYvJNKgxQByZ9o,11130
62
62
  azure/storage/blob/_shared/uploads.py,sha256=sNjyP-WqhDTbKHHJHezbY6Rac6KdhbUCqDGn1xD72Vk,22017
63
63
  azure/storage/blob/_shared/uploads_async.py,sha256=5re4LvMHyIg8A2XgH0Rks-X1LUKBpYt6P7EgQfCWKaQ,16642
@@ -68,7 +68,7 @@ azure/storage/blob/_shared/avro/datafile.py,sha256=L0xC3Na0Zyg-I6lZjW8Qp6R4wvEnG
68
68
  azure/storage/blob/_shared/avro/datafile_async.py,sha256=0fSi427XEDPXbFQNrVQq70EAhpy2-jo1Ay-k4fDHO3Q,7294
69
69
  azure/storage/blob/_shared/avro/schema.py,sha256=ULeGU6lwC2Onzprt2nSnOwsjC3HJH-3S24eyPs6L6Us,36227
70
70
  azure/storage/blob/aio/__init__.py,sha256=tVgeGWdfxG32uyJxAE32waysCOGt93S_EeuQLJz7vEM,8344
71
- azure/storage/blob/aio/_blob_client_async.py,sha256=XZA_46l_aWbMB0eIM9OVDbIpl2G_-7j66vy7rBMWKdo,181808
71
+ azure/storage/blob/aio/_blob_client_async.py,sha256=WmpWhr3m2J3lMk-0hY3XH9pTtyYJeHhhD6z45RJVK8Q,181492
72
72
  azure/storage/blob/aio/_blob_service_client_async.py,sha256=D-y0VfSlg_K44VKgIGsYuySxkG1RBDF5ymz17D3P8CM,41179
73
73
  azure/storage/blob/aio/_container_client_async.py,sha256=1D5ixfete8Y5uovMOreSgClHs6KqOSe38yhpZloMA84,85290
74
74
  azure/storage/blob/aio/_download_async.py,sha256=zneaszZj69VblrUkWocBjvhvXedQJfJweL4uTqc9TpE,38078
@@ -77,8 +77,8 @@ azure/storage/blob/aio/_lease_async.py,sha256=T31Augs9Rp-UdwsOOHzE5U_lUGcCD-fXnp
77
77
  azure/storage/blob/aio/_list_blobs_helper.py,sha256=Cz8Cs76xu4j67OmKpED0RborDqTxcqBId7MlF5aRVVw,9851
78
78
  azure/storage/blob/aio/_models.py,sha256=RQzmFX9SMRL-Wg2LxzI2Fjhjvrpn6yUJBEoIb-mgCAI,8057
79
79
  azure/storage/blob/aio/_upload_helpers.py,sha256=zROsVN6PK2Cn59Ysq08Ide5T1IGG2yH7oK9ZCn5uQXs,14038
80
- azure_storage_blob-12.24.0.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
81
- azure_storage_blob-12.24.0.dist-info/METADATA,sha256=EFpzqgJQ818SoFERG9ySWK5UvkarzN6bZ6RlGE1bd58,26224
82
- azure_storage_blob-12.24.0.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
83
- azure_storage_blob-12.24.0.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
84
- azure_storage_blob-12.24.0.dist-info/RECORD,,
80
+ azure_storage_blob-12.24.0b1.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
81
+ azure_storage_blob-12.24.0b1.dist-info/METADATA,sha256=mS5ugKjwE8o6ceT6dmrfJSU8-3YnOOGQKEIHASLW2jY,26213
82
+ azure_storage_blob-12.24.0b1.dist-info/WHEEL,sha256=HiCZjzuy6Dw0hdX5R3LCFPDmFS4BWl8H-8W39XfmgX4,91
83
+ azure_storage_blob-12.24.0b1.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
84
+ azure_storage_blob-12.24.0b1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.3)
2
+ Generator: setuptools (72.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5