azure-storage-blob 12.24.1__py3-none-any.whl → 12.25.0__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.
Files changed (33) hide show
  1. azure/storage/blob/_generated/__init__.py +9 -3
  2. azure/storage/blob/_generated/_configuration.py +1 -1
  3. azure/storage/blob/_generated/_patch.py +16 -29
  4. azure/storage/blob/_generated/_serialization.py +52 -117
  5. azure/storage/blob/_generated/aio/__init__.py +9 -3
  6. azure/storage/blob/_generated/aio/_configuration.py +1 -1
  7. azure/storage/blob/_generated/aio/_patch.py +16 -29
  8. azure/storage/blob/_generated/aio/operations/__init__.py +14 -8
  9. azure/storage/blob/_generated/aio/operations/_append_blob_operations.py +21 -19
  10. azure/storage/blob/_generated/aio/operations/_blob_operations.py +88 -85
  11. azure/storage/blob/_generated/aio/operations/_block_blob_operations.py +28 -25
  12. azure/storage/blob/_generated/aio/operations/_container_operations.py +59 -56
  13. azure/storage/blob/_generated/aio/operations/_page_blob_operations.py +37 -34
  14. azure/storage/blob/_generated/aio/operations/_patch.py +2 -8
  15. azure/storage/blob/_generated/aio/operations/_service_operations.py +27 -25
  16. azure/storage/blob/_generated/models/__init__.py +91 -80
  17. azure/storage/blob/_generated/models/_models_py3.py +4 -5
  18. azure/storage/blob/_generated/models/_patch.py +2 -8
  19. azure/storage/blob/_generated/operations/__init__.py +14 -8
  20. azure/storage/blob/_generated/operations/_append_blob_operations.py +18 -16
  21. azure/storage/blob/_generated/operations/_blob_operations.py +67 -65
  22. azure/storage/blob/_generated/operations/_block_blob_operations.py +23 -21
  23. azure/storage/blob/_generated/operations/_container_operations.py +46 -44
  24. azure/storage/blob/_generated/operations/_page_blob_operations.py +30 -28
  25. azure/storage/blob/_generated/operations/_patch.py +2 -8
  26. azure/storage/blob/_generated/operations/_service_operations.py +26 -24
  27. azure/storage/blob/_serialize.py +1 -0
  28. azure/storage/blob/_version.py +1 -1
  29. {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/METADATA +2 -2
  30. {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/RECORD +33 -33
  31. {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/LICENSE +0 -0
  32. {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/WHEEL +0 -0
  33. {azure_storage_blob-12.24.1.dist-info → azure_storage_blob-12.25.0.dist-info}/top_level.txt +0 -0
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines,too-many-statements
1
+ # pylint: disable=too-many-lines
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,8 +8,9 @@
8
8
  # --------------------------------------------------------------------------
9
9
  import datetime
10
10
  import sys
11
- from typing import Any, Callable, Dict, IO, Literal, Optional, Type, TypeVar, Union
11
+ from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union
12
12
 
13
+ from azure.core import PipelineClient
13
14
  from azure.core.exceptions import (
14
15
  ClientAuthenticationError,
15
16
  HttpResponseError,
@@ -24,12 +25,13 @@ from azure.core.tracing.decorator import distributed_trace
24
25
  from azure.core.utils import case_insensitive_dict
25
26
 
26
27
  from .. import models as _models
27
- from .._serialization import Serializer
28
+ from .._configuration import AzureBlobStorageConfiguration
29
+ from .._serialization import Deserializer, Serializer
28
30
 
29
31
  if sys.version_info >= (3, 9):
30
32
  from collections.abc import MutableMapping
31
33
  else:
32
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
34
+ from typing import MutableMapping # type: ignore
33
35
  T = TypeVar("T")
34
36
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
35
37
 
@@ -818,10 +820,10 @@ class PageBlobOperations:
818
820
 
819
821
  def __init__(self, *args, **kwargs):
820
822
  input_args = list(args)
821
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
822
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
823
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
824
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
823
+ self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
824
+ self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
825
+ self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
826
+ self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
825
827
 
826
828
  @distributed_trace
827
829
  def create( # pylint: disable=inconsistent-return-statements
@@ -854,7 +856,7 @@ class PageBlobOperations:
854
856
  :type blob_content_length: int
855
857
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
856
858
  :code:`<a
857
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
859
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
858
860
  Timeouts for Blob Service Operations.</a>`. Default value is None.
859
861
  :type timeout: int
860
862
  :param tier: Optional. Indicates the tier to be set on the page blob. Known values are: "P4",
@@ -901,7 +903,7 @@ class PageBlobOperations:
901
903
  :rtype: None
902
904
  :raises ~azure.core.exceptions.HttpResponseError:
903
905
  """
904
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
906
+ error_map: MutableMapping = {
905
907
  401: ClientAuthenticationError,
906
908
  404: ResourceNotFoundError,
907
909
  409: ResourceExistsError,
@@ -1059,7 +1061,7 @@ class PageBlobOperations:
1059
1061
  :type transactional_content_crc64: bytes
1060
1062
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1061
1063
  :code:`<a
1062
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1064
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1063
1065
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1064
1066
  :type timeout: int
1065
1067
  :param range: Return only the bytes of the blob in the specified range. Default value is None.
@@ -1090,7 +1092,7 @@ class PageBlobOperations:
1090
1092
  :rtype: None
1091
1093
  :raises ~azure.core.exceptions.HttpResponseError:
1092
1094
  """
1093
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1095
+ error_map: MutableMapping = {
1094
1096
  401: ClientAuthenticationError,
1095
1097
  404: ResourceNotFoundError,
1096
1098
  409: ResourceExistsError,
@@ -1239,7 +1241,7 @@ class PageBlobOperations:
1239
1241
  :type content_length: int
1240
1242
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1241
1243
  :code:`<a
1242
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1244
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1243
1245
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1244
1246
  :type timeout: int
1245
1247
  :param range: Return only the bytes of the blob in the specified range. Default value is None.
@@ -1263,7 +1265,7 @@ class PageBlobOperations:
1263
1265
  :rtype: None
1264
1266
  :raises ~azure.core.exceptions.HttpResponseError:
1265
1267
  """
1266
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1268
+ error_map: MutableMapping = {
1267
1269
  401: ClientAuthenticationError,
1268
1270
  404: ResourceNotFoundError,
1269
1271
  409: ResourceExistsError,
@@ -1413,7 +1415,7 @@ class PageBlobOperations:
1413
1415
  :type source_contentcrc64: bytes
1414
1416
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1415
1417
  :code:`<a
1416
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1418
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1417
1419
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1418
1420
  :type timeout: int
1419
1421
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1441,7 +1443,7 @@ class PageBlobOperations:
1441
1443
  :rtype: None
1442
1444
  :raises ~azure.core.exceptions.HttpResponseError:
1443
1445
  """
1444
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1446
+ error_map: MutableMapping = {
1445
1447
  401: ClientAuthenticationError,
1446
1448
  404: ResourceNotFoundError,
1447
1449
  409: ResourceExistsError,
@@ -1593,12 +1595,12 @@ class PageBlobOperations:
1593
1595
  :param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
1594
1596
  specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
1595
1597
  see :code:`<a
1596
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
1598
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
1597
1599
  a Snapshot of a Blob.</a>`. Default value is None.
1598
1600
  :type snapshot: str
1599
1601
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1600
1602
  :code:`<a
1601
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1603
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1602
1604
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1603
1605
  :type timeout: int
1604
1606
  :param range: Return only the bytes of the blob in the specified range. Default value is None.
@@ -1629,7 +1631,7 @@ class PageBlobOperations:
1629
1631
  :rtype: ~azure.storage.blob.models.PageList
1630
1632
  :raises ~azure.core.exceptions.HttpResponseError:
1631
1633
  """
1632
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1634
+ error_map: MutableMapping = {
1633
1635
  401: ClientAuthenticationError,
1634
1636
  404: ResourceNotFoundError,
1635
1637
  409: ResourceExistsError,
@@ -1733,12 +1735,12 @@ class PageBlobOperations:
1733
1735
  :param snapshot: The snapshot parameter is an opaque DateTime value that, when present,
1734
1736
  specifies the blob snapshot to retrieve. For more information on working with blob snapshots,
1735
1737
  see :code:`<a
1736
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
1738
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/creating-a-snapshot-of-a-blob">Creating
1737
1739
  a Snapshot of a Blob.</a>`. Default value is None.
1738
1740
  :type snapshot: str
1739
1741
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1740
1742
  :code:`<a
1741
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1743
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1742
1744
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1743
1745
  :type timeout: int
1744
1746
  :param prevsnapshot: Optional in version 2015-07-08 and newer. The prevsnapshot parameter is a
@@ -1781,7 +1783,7 @@ class PageBlobOperations:
1781
1783
  :rtype: ~azure.storage.blob.models.PageList
1782
1784
  :raises ~azure.core.exceptions.HttpResponseError:
1783
1785
  """
1784
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1786
+ error_map: MutableMapping = {
1785
1787
  401: ClientAuthenticationError,
1786
1788
  404: ResourceNotFoundError,
1787
1789
  409: ResourceExistsError,
@@ -1885,7 +1887,7 @@ class PageBlobOperations:
1885
1887
  :type blob_content_length: int
1886
1888
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
1887
1889
  :code:`<a
1888
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1890
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
1889
1891
  Timeouts for Blob Service Operations.</a>`. Default value is None.
1890
1892
  :type timeout: int
1891
1893
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1904,7 +1906,7 @@ class PageBlobOperations:
1904
1906
  :rtype: None
1905
1907
  :raises ~azure.core.exceptions.HttpResponseError:
1906
1908
  """
1907
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1909
+ error_map: MutableMapping = {
1908
1910
  401: ClientAuthenticationError,
1909
1911
  404: ResourceNotFoundError,
1910
1912
  409: ResourceExistsError,
@@ -2014,7 +2016,7 @@ class PageBlobOperations:
2014
2016
  :type sequence_number_action: str or ~azure.storage.blob.models.SequenceNumberActionType
2015
2017
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2016
2018
  :code:`<a
2017
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2019
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2018
2020
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2019
2021
  :type timeout: int
2020
2022
  :param blob_sequence_number: Set for page blobs only. The sequence number is a user-controlled
@@ -2033,7 +2035,7 @@ class PageBlobOperations:
2033
2035
  :rtype: None
2034
2036
  :raises ~azure.core.exceptions.HttpResponseError:
2035
2037
  """
2036
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
2038
+ error_map: MutableMapping = {
2037
2039
  401: ClientAuthenticationError,
2038
2040
  404: ResourceNotFoundError,
2039
2041
  409: ResourceExistsError,
@@ -2132,7 +2134,7 @@ class PageBlobOperations:
2132
2134
  :type copy_source: str
2133
2135
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
2134
2136
  :code:`<a
2135
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2137
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
2136
2138
  Timeouts for Blob Service Operations.</a>`. Default value is None.
2137
2139
  :type timeout: int
2138
2140
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -2145,7 +2147,7 @@ class PageBlobOperations:
2145
2147
  :rtype: None
2146
2148
  :raises ~azure.core.exceptions.HttpResponseError:
2147
2149
  """
2148
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
2150
+ error_map: MutableMapping = {
2149
2151
  401: ClientAuthenticationError,
2150
2152
  404: ResourceNotFoundError,
2151
2153
  409: ResourceExistsError,
@@ -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():
@@ -1,4 +1,4 @@
1
- # pylint: disable=too-many-lines,too-many-statements
1
+ # pylint: disable=too-many-lines
2
2
  # coding=utf-8
3
3
  # --------------------------------------------------------------------------
4
4
  # Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,8 +7,9 @@
7
7
  # Changes may cause incorrect behavior and will be lost if the code is regenerated.
8
8
  # --------------------------------------------------------------------------
9
9
  import sys
10
- from typing import Any, Callable, Dict, IO, Iterator, List, Literal, Optional, Type, TypeVar, Union
10
+ from typing import Any, Callable, Dict, IO, Iterator, List, Literal, Optional, TypeVar, Union
11
11
 
12
+ from azure.core import PipelineClient
12
13
  from azure.core.exceptions import (
13
14
  ClientAuthenticationError,
14
15
  HttpResponseError,
@@ -25,12 +26,13 @@ from azure.core.tracing.decorator import distributed_trace
25
26
  from azure.core.utils import case_insensitive_dict
26
27
 
27
28
  from .. import models as _models
28
- from .._serialization import Serializer
29
+ from .._configuration import AzureBlobStorageConfiguration
30
+ from .._serialization import Deserializer, Serializer
29
31
 
30
32
  if sys.version_info >= (3, 9):
31
33
  from collections.abc import MutableMapping
32
34
  else:
33
- from typing import MutableMapping # type: ignore # pylint: disable=ungrouped-imports
35
+ from typing import MutableMapping # type: ignore
34
36
  T = TypeVar("T")
35
37
  ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]]
36
38
 
@@ -366,10 +368,10 @@ class ServiceOperations:
366
368
 
367
369
  def __init__(self, *args, **kwargs):
368
370
  input_args = list(args)
369
- self._client = input_args.pop(0) if input_args else kwargs.pop("client")
370
- self._config = input_args.pop(0) if input_args else kwargs.pop("config")
371
- self._serialize = input_args.pop(0) if input_args else kwargs.pop("serializer")
372
- self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer")
371
+ self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client")
372
+ self._config: AzureBlobStorageConfiguration = input_args.pop(0) if input_args else kwargs.pop("config")
373
+ self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer")
374
+ self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
373
375
 
374
376
  @distributed_trace
375
377
  def set_properties( # pylint: disable=inconsistent-return-statements
@@ -387,7 +389,7 @@ class ServiceOperations:
387
389
  :type storage_service_properties: ~azure.storage.blob.models.StorageServiceProperties
388
390
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
389
391
  :code:`<a
390
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
392
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
391
393
  Timeouts for Blob Service Operations.</a>`. Default value is None.
392
394
  :type timeout: int
393
395
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -398,7 +400,7 @@ class ServiceOperations:
398
400
  :rtype: None
399
401
  :raises ~azure.core.exceptions.HttpResponseError:
400
402
  """
401
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
403
+ error_map: MutableMapping = {
402
404
  401: ClientAuthenticationError,
403
405
  404: ResourceNotFoundError,
404
406
  409: ResourceExistsError,
@@ -462,7 +464,7 @@ class ServiceOperations:
462
464
 
463
465
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
464
466
  :code:`<a
465
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
467
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
466
468
  Timeouts for Blob Service Operations.</a>`. Default value is None.
467
469
  :type timeout: int
468
470
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -473,7 +475,7 @@ class ServiceOperations:
473
475
  :rtype: ~azure.storage.blob.models.StorageServiceProperties
474
476
  :raises ~azure.core.exceptions.HttpResponseError:
475
477
  """
476
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
478
+ error_map: MutableMapping = {
477
479
  401: ClientAuthenticationError,
478
480
  404: ResourceNotFoundError,
479
481
  409: ResourceExistsError,
@@ -537,7 +539,7 @@ class ServiceOperations:
537
539
 
538
540
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
539
541
  :code:`<a
540
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
542
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
541
543
  Timeouts for Blob Service Operations.</a>`. Default value is None.
542
544
  :type timeout: int
543
545
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -548,7 +550,7 @@ class ServiceOperations:
548
550
  :rtype: ~azure.storage.blob.models.StorageServiceStats
549
551
  :raises ~azure.core.exceptions.HttpResponseError:
550
552
  """
551
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
553
+ error_map: MutableMapping = {
552
554
  401: ClientAuthenticationError,
553
555
  404: ResourceNotFoundError,
554
556
  409: ResourceExistsError,
@@ -639,7 +641,7 @@ class ServiceOperations:
639
641
  :type include: list[str or ~azure.storage.blob.models.ListContainersIncludeType]
640
642
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
641
643
  :code:`<a
642
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
644
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
643
645
  Timeouts for Blob Service Operations.</a>`. Default value is None.
644
646
  :type timeout: int
645
647
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -650,7 +652,7 @@ class ServiceOperations:
650
652
  :rtype: ~azure.storage.blob.models.ListContainersSegmentResponse
651
653
  :raises ~azure.core.exceptions.HttpResponseError:
652
654
  """
653
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
655
+ error_map: MutableMapping = {
654
656
  401: ClientAuthenticationError,
655
657
  404: ResourceNotFoundError,
656
658
  409: ResourceExistsError,
@@ -721,7 +723,7 @@ class ServiceOperations:
721
723
  :type key_info: ~azure.storage.blob.models.KeyInfo
722
724
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
723
725
  :code:`<a
724
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
726
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
725
727
  Timeouts for Blob Service Operations.</a>`. Default value is None.
726
728
  :type timeout: int
727
729
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -732,7 +734,7 @@ class ServiceOperations:
732
734
  :rtype: ~azure.storage.blob.models.UserDelegationKey
733
735
  :raises ~azure.core.exceptions.HttpResponseError:
734
736
  """
735
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
737
+ error_map: MutableMapping = {
736
738
  401: ClientAuthenticationError,
737
739
  404: ResourceNotFoundError,
738
740
  409: ResourceExistsError,
@@ -800,7 +802,7 @@ class ServiceOperations:
800
802
 
801
803
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
802
804
  :code:`<a
803
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
805
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
804
806
  Timeouts for Blob Service Operations.</a>`. Default value is None.
805
807
  :type timeout: int
806
808
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -811,7 +813,7 @@ class ServiceOperations:
811
813
  :rtype: None
812
814
  :raises ~azure.core.exceptions.HttpResponseError:
813
815
  """
814
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
816
+ error_map: MutableMapping = {
815
817
  401: ClientAuthenticationError,
816
818
  404: ResourceNotFoundError,
817
819
  409: ResourceExistsError,
@@ -882,7 +884,7 @@ class ServiceOperations:
882
884
  :type body: IO[bytes]
883
885
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
884
886
  :code:`<a
885
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
887
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
886
888
  Timeouts for Blob Service Operations.</a>`. Default value is None.
887
889
  :type timeout: int
888
890
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -893,7 +895,7 @@ class ServiceOperations:
893
895
  :rtype: Iterator[bytes]
894
896
  :raises ~azure.core.exceptions.HttpResponseError:
895
897
  """
896
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
898
+ error_map: MutableMapping = {
897
899
  401: ClientAuthenticationError,
898
900
  404: ResourceNotFoundError,
899
901
  409: ResourceExistsError,
@@ -973,7 +975,7 @@ class ServiceOperations:
973
975
 
974
976
  :param timeout: The timeout parameter is expressed in seconds. For more information, see
975
977
  :code:`<a
976
- href="https://learn.microsoft.com/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
978
+ href="https://docs.microsoft.com/en-us/rest/api/storageservices/fileservices/setting-timeouts-for-blob-service-operations">Setting
977
979
  Timeouts for Blob Service Operations.</a>`. Default value is None.
978
980
  :type timeout: int
979
981
  :param request_id_parameter: Provides a client-generated, opaque value with a 1 KB character
@@ -1004,7 +1006,7 @@ class ServiceOperations:
1004
1006
  :rtype: ~azure.storage.blob.models.FilterBlobSegment
1005
1007
  :raises ~azure.core.exceptions.HttpResponseError:
1006
1008
  """
1007
- error_map: MutableMapping[int, Type[HttpResponseError]] = { # pylint: disable=unsubscriptable-object
1009
+ error_map: MutableMapping = {
1008
1010
  401: ClientAuthenticationError,
1009
1011
  404: ResourceNotFoundError,
1010
1012
  409: ResourceExistsError,
@@ -58,6 +58,7 @@ _SUPPORTED_API_VERSIONS = [
58
58
  '2024-08-04',
59
59
  '2024-11-04',
60
60
  '2025-01-05',
61
+ '2025-05-05',
61
62
  ]
62
63
 
63
64
 
@@ -4,4 +4,4 @@
4
4
  # license information.
5
5
  # --------------------------------------------------------------------------
6
6
 
7
- VERSION = "12.24.1"
7
+ VERSION = "12.25.0"
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: azure-storage-blob
3
- Version: 12.24.1
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
@@ -12,41 +12,41 @@ azure/storage/blob/_lease.py,sha256=ReF0nVfZE8p_clUGpebZPprBdXJ7lOGEqXmJUhvsX5U,
12
12
  azure/storage/blob/_list_blobs_helper.py,sha256=ElFspHiqQ2vbRvwI9DLY7uKHgDCj1NTQ40icuCOmF0I,13124
13
13
  azure/storage/blob/_models.py,sha256=6LOfUKH9PARguI3T9Vd17GiCK4ZWFljuzZOR2pCVaIk,65926
14
14
  azure/storage/blob/_quick_query_helper.py,sha256=HO6ufvSEWQSaFJ4CanujE4IN7FYB6y1f8PU0-dItMsk,6663
15
- azure/storage/blob/_serialize.py,sha256=0pcX1eJKXbvjSVugLmUG8ST5GW0M93oZXE6fPy7Yh38,8164
15
+ azure/storage/blob/_serialize.py,sha256=kLlXBOK00DqHojQJhXYBZqxI0FsfpAO-17pSEuiVWUc,8182
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=NcAfMrw_hsGQRvP9zI__gMSR1KF1wQ87ypMcyeGJjiA,331
18
+ azure/storage/blob/_version.py,sha256=3Syvgxb0-uEsb3dt9LQqyhbJenRcdwr8kCNYsR7K6bM,331
19
19
  azure/storage/blob/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- azure/storage/blob/_generated/__init__.py,sha256=J2H2yiFhRSsMCNKUI7gaYFIQ4_AAbWjPtzXdOsHFQFI,835
20
+ azure/storage/blob/_generated/__init__.py,sha256=ynWf8-mGV7ImRKnke9UPzyisLsuiM-NrFWKk0sN78bY,989
21
21
  azure/storage/blob/_generated/_azure_blob_storage.py,sha256=7sOmpoyQp3IPkihUSt7aYI0k24heUthmUvcPuN5nxjQ,5737
22
- azure/storage/blob/_generated/_configuration.py,sha256=zRg5blzuW7Jz--7I08__aWF5-wZv54fHp6wp5Pqs-fo,2566
23
- azure/storage/blob/_generated/_patch.py,sha256=MdyWs5y2w9_vYRWulELR-RV2uRYkjYpdB7nTVz2tVY4,1532
24
- azure/storage/blob/_generated/_serialization.py,sha256=C9Sx_ix5z6mdvlGJeIyW4kfyxfpVZOqxtC50AxFcsDU,84474
22
+ azure/storage/blob/_generated/_configuration.py,sha256=_G8qT6kwQh6ICf6A7robOMHrwhIgAajSxT1RdMsBHoM,2552
23
+ azure/storage/blob/_generated/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
24
+ azure/storage/blob/_generated/_serialization.py,sha256=R3G3onWOb0kAQRzdAprz-sM8BRqrYBF9N2WsexrKxQM,82801
25
25
  azure/storage/blob/_generated/py.typed,sha256=dcrsqJrcYfTX-ckLFJMTaj6mD8aDe2u0tkQG-ZYxnEg,26
26
- azure/storage/blob/_generated/aio/__init__.py,sha256=J2H2yiFhRSsMCNKUI7gaYFIQ4_AAbWjPtzXdOsHFQFI,835
26
+ azure/storage/blob/_generated/aio/__init__.py,sha256=ynWf8-mGV7ImRKnke9UPzyisLsuiM-NrFWKk0sN78bY,989
27
27
  azure/storage/blob/_generated/aio/_azure_blob_storage.py,sha256=RjkAL6eeIugJfn-ZDWKs2NuQ61BDSGcTqvQkV5Ag-ss,5880
28
- azure/storage/blob/_generated/aio/_configuration.py,sha256=ybj0y3hyHcHSqaoA0yJ86ng0p8ZoJZOj6pEEF3aCKV4,2576
29
- azure/storage/blob/_generated/aio/_patch.py,sha256=MdyWs5y2w9_vYRWulELR-RV2uRYkjYpdB7nTVz2tVY4,1532
30
- azure/storage/blob/_generated/aio/operations/__init__.py,sha256=a5HiO2T3KzSSX8reO6fCwbKcwXqd0A6GIeF4t63XmTA,1181
31
- azure/storage/blob/_generated/aio/operations/_append_blob_operations.py,sha256=kYm7eyjY3IF-BC5Ysr6MO3qKraPquUlah4Ju032hxJ4,38503
32
- azure/storage/blob/_generated/aio/operations/_blob_operations.py,sha256=FGnI2XeSIHOh2eZEH982nvE8tbHDwsZJJJWS0TPy9xo,171826
33
- azure/storage/blob/_generated/aio/operations/_block_blob_operations.py,sha256=s_pRCAgyGms4ia9_sSfmfUmEPLLAejaOu5iSbH7BPNk,62839
34
- azure/storage/blob/_generated/aio/operations/_container_operations.py,sha256=E-BNDGozn5r5FbFPqddgokJiJ_APY0uti9JtX-Uv7RA,92111
35
- azure/storage/blob/_generated/aio/operations/_page_blob_operations.py,sha256=U_I-tsOzEVc_MDCCqqQopOEmh9x0dmaB9aGQmf4LG5k,76545
36
- azure/storage/blob/_generated/aio/operations/_patch.py,sha256=pYl0jxVFr3Yu0RHRFIgN3NwFrEZr1uL-7xbEXGgJzBw,794
37
- azure/storage/blob/_generated/aio/operations/_service_operations.py,sha256=PnEuFt4LQ-huXvKQYsOQ5Br8omp7IwnBJmLDNyQxKwE,36576
38
- azure/storage/blob/_generated/models/__init__.py,sha256=qOh_WzGPNB7Do1XSXfRosHQJ94zx1G5dVXpZdkNKLuM,6303
28
+ azure/storage/blob/_generated/aio/_configuration.py,sha256=9Fvbmp9xdnURmlxziGBSZKGJeAn9boc8uS2PCBNlBWc,2562
29
+ azure/storage/blob/_generated/aio/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
30
+ azure/storage/blob/_generated/aio/operations/__init__.py,sha256=135lckGNaMIThoRPTOBXgX6wLz_jZq-ZlvOIIzxbTGg,1415
31
+ azure/storage/blob/_generated/aio/operations/_append_blob_operations.py,sha256=rVWOB2cy2nJcL5SLjXyLK8ffnbaA6xa3DHAExr3e-1Y,38174
32
+ azure/storage/blob/_generated/aio/operations/_blob_operations.py,sha256=Ff4iBLTweYFu7cOMk5RPOaCTF30YFQeXcbuw8fS2S7I,169385
33
+ azure/storage/blob/_generated/aio/operations/_block_blob_operations.py,sha256=K6MIdsSK2WY9AsRoLqP7lA9o72n_AoShpa--y4RiDzQ,62364
34
+ azure/storage/blob/_generated/aio/operations/_container_operations.py,sha256=JP9ZNF1YkTw5K08ql0bbTp_gW-h405pCv4Z3ZeJDswM,90427
35
+ azure/storage/blob/_generated/aio/operations/_page_blob_operations.py,sha256=AP1rlutu87K6eJV8sLhY4uQKcprB7UQMsghKJKcMM30,75774
36
+ azure/storage/blob/_generated/aio/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
37
+ azure/storage/blob/_generated/aio/operations/_service_operations.py,sha256=6G-vPd_qwYkpTB8LkFGsSpSrgp0c640yAxBA0R0BU7M,36079
38
+ azure/storage/blob/_generated/models/__init__.py,sha256=a0nkbGeKXdOddt3ObAHmnm1QGUcSzNTa1wT37yCb3YU,4608
39
39
  azure/storage/blob/_generated/models/_azure_blob_storage_enums.py,sha256=5yADLYU9d2-QqzrvKPWszcaBWcMNgMUwCAYYUTyYix4,13146
40
- azure/storage/blob/_generated/models/_models_py3.py,sha256=JXhdrOvO8VKo_Vhz-cqnXI1gfDf6nkrcBDC7Cz0rL_s,110612
41
- azure/storage/blob/_generated/models/_patch.py,sha256=pYl0jxVFr3Yu0RHRFIgN3NwFrEZr1uL-7xbEXGgJzBw,794
42
- azure/storage/blob/_generated/operations/__init__.py,sha256=a5HiO2T3KzSSX8reO6fCwbKcwXqd0A6GIeF4t63XmTA,1181
43
- azure/storage/blob/_generated/operations/_append_blob_operations.py,sha256=d37gqC31nD7SdwIWJnuOaq-RQGhoYFgTsMB-YQ8u0oI,57635
44
- azure/storage/blob/_generated/operations/_blob_operations.py,sha256=RxXz-Ak67uqA9RWJrQpzkXd5jJ4L5CTHWXCIUTdISJY,239099
45
- azure/storage/blob/_generated/operations/_block_blob_operations.py,sha256=B51sN8PeAVvihKOxAepSkCzwaxT1-4ULii7Agbdbc4A,94563
46
- azure/storage/blob/_generated/operations/_container_operations.py,sha256=UScCS8PSdMokU6Apsb-hd_hyTKot_JOloy7NQaYYS_U,129737
47
- azure/storage/blob/_generated/operations/_page_blob_operations.py,sha256=CILQx4kc97v0dLXRWcmGtV09jgmL4rHoXxh3NWErrFk,114404
48
- azure/storage/blob/_generated/operations/_patch.py,sha256=pYl0jxVFr3Yu0RHRFIgN3NwFrEZr1uL-7xbEXGgJzBw,794
49
- azure/storage/blob/_generated/operations/_service_operations.py,sha256=kMfGzHKEtT6XhuuK49DQwzHOOSz1JgeRP9i7Oppvz1s,50434
40
+ azure/storage/blob/_generated/models/_models_py3.py,sha256=zC5S3_2lT7H0BIOjSSQvZF5roOGtCPGk77ZqXeKkreE,110425
41
+ azure/storage/blob/_generated/models/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
42
+ azure/storage/blob/_generated/operations/__init__.py,sha256=135lckGNaMIThoRPTOBXgX6wLz_jZq-ZlvOIIzxbTGg,1415
43
+ azure/storage/blob/_generated/operations/_append_blob_operations.py,sha256=yDPr1wHKPYD58-u6EYKfVvazn2XW2qVZcd3Qjr4wgj8,57488
44
+ azure/storage/blob/_generated/operations/_blob_operations.py,sha256=ShVwF0ClyiLx5futNy5uktghF-4QfFokonveCg-d5qY,237657
45
+ azure/storage/blob/_generated/operations/_block_blob_operations.py,sha256=QMR4vDj7yvvP-vcw8j9xw81JK2TK4sOg0cPA4p0WwR0,94287
46
+ azure/storage/blob/_generated/operations/_container_operations.py,sha256=NmhoISamb3jwpCzhPaKgfv6EntnSy2Vhl8fK3Milol8,128652
47
+ azure/storage/blob/_generated/operations/_page_blob_operations.py,sha256=ZBdoVT5noI0xytdJMIkiLPeO54Ch68I2PXSgps9p3No,113932
48
+ azure/storage/blob/_generated/operations/_patch.py,sha256=P7PMm3Gbjlk56lI6B_Ra43hSW5qGMEmN3cNYGH5uZ3s,674
49
+ azure/storage/blob/_generated/operations/_service_operations.py,sha256=m99nNFvVT8BuZfiIvWpqRzJl6xAInWmer9iOY75zwKw,50019
50
50
  azure/storage/blob/_shared/__init__.py,sha256=Ohb4NSCuB9VXGEqjU2o9VZ5L98-a7c8KWZvrujnSFk8,1477
51
51
  azure/storage/blob/_shared/authentication.py,sha256=RNKYwbK-IbeZ2rPzeW5PX677NB4GZdwxmyVhb8KmskU,9445
52
52
  azure/storage/blob/_shared/base_client.py,sha256=H63JVtOFT6azaZkpKQ32qcHa2Z45qMK8Lg3WwmnysK4,18526
@@ -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.1.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
81
- azure_storage_blob-12.24.1.dist-info/METADATA,sha256=sak4q5IhMXhgKusO5n4wPAVnnJQ9bWM-o9VWKqxaSbQ,26231
82
- azure_storage_blob-12.24.1.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
83
- azure_storage_blob-12.24.1.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
84
- azure_storage_blob-12.24.1.dist-info/RECORD,,
80
+ azure_storage_blob-12.25.0.dist-info/LICENSE,sha256=_VMkgdgo4ToLE8y1mOAjOKNhd0BnWoYu5r3BVBto6T0,1073
81
+ azure_storage_blob-12.25.0.dist-info/METADATA,sha256=tkmeETXTOh4iSa45rEZSSLQtorGc_cpEU4Rr9XwAF4E,26244
82
+ azure_storage_blob-12.25.0.dist-info/WHEEL,sha256=pL8R0wFFS65tNSRnaOVrsw9EOkOqxLrlUPenUYnJKNo,91
83
+ azure_storage_blob-12.25.0.dist-info/top_level.txt,sha256=S7DhWV9m80TBzAhOFjxDUiNbKszzoThbnrSz5MpbHSQ,6
84
+ azure_storage_blob-12.25.0.dist-info/RECORD,,