Skip to content

Commit ca2153c

Browse files
[AutoRelease] t2-storage-2025-06-19-60432(can only be merged by SDK owner) (#41667)
* code and test * Update CHANGELOG.md * Update _version.py * Update CHANGELOG.md --------- Co-authored-by: azure-sdk <PythonSdkPipelines> Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
1 parent 1ca2abb commit ca2153c

File tree

50 files changed

+135
-175
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+135
-175
lines changed

sdk/storage/azure-mgmt-storage/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Release History
22

3+
## 23.0.1 (2025-06-30)
4+
5+
### Other Changes
6+
7+
- Fix for StorageTaskAssignmentsOperations
8+
39
## 23.0.0 (2025-05-15)
410

511
### Breaking Changes

sdk/storage/azure-mgmt-storage/MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
include _meta.json
21
recursive-include tests *.py *.json
32
recursive-include samples *.py *.md
43
include *.md

sdk/storage/azure-mgmt-storage/_meta.json

Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"commit": "6c7bb299b1fb029d5f2c8d2c255cd517bc9ac58c",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"autorest": "3.10.2",
5+
"use": [
6+
"@autorest/python@6.35.0",
7+
"@autorest/modelerfour@4.27.0"
8+
],
9+
"autorest_command": "autorest specification/storage/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.35.0 --use=@autorest/modelerfour@4.27.0 --version=3.10.2 --version-tolerant=False",
10+
"readme": "specification/storage/resource-manager/readme.md"
11+
}

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
# license information.
66
# --------------------------------------------------------------------------
77

8-
VERSION = "23.0.0"
8+
VERSION = "23.0.1"

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_blob_containers_operations.py

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,7 @@
88
# --------------------------------------------------------------------------
99
from collections.abc import MutableMapping
1010
from io import IOBase
11-
from typing import (
12-
Any,
13-
AsyncIterable,
14-
AsyncIterator,
15-
Callable,
16-
Dict,
17-
IO,
18-
Literal,
19-
Optional,
20-
TypeVar,
21-
Union,
22-
cast,
23-
overload,
24-
)
11+
from typing import Any, AsyncIterator, Callable, Dict, IO, Literal, Optional, TypeVar, Union, cast, overload
2512
import urllib.parse
2613

2714
from azure.core import AsyncPipelineClient
@@ -97,7 +84,7 @@ def list(
9784
filter: Optional[str] = None,
9885
include: Optional[Union[str, _models.ListContainersInclude]] = None,
9986
**kwargs: Any
100-
) -> AsyncIterable["_models.ListContainerItem"]:
87+
) -> AsyncItemPaged["_models.ListContainerItem"]:
10188
"""Lists all containers and does not support a prefix like data plane. Also SRP today does not
10289
return continuation token.
10390

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_blob_inventory_policies_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# --------------------------------------------------------------------------
88
from collections.abc import MutableMapping
99
from io import IOBase
10-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
10+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1111
import urllib.parse
1212

1313
from azure.core import AsyncPipelineClient
@@ -342,7 +342,7 @@ async def delete(
342342
@distributed_trace
343343
def list(
344344
self, resource_group_name: str, account_name: str, **kwargs: Any
345-
) -> AsyncIterable["_models.BlobInventoryPolicy"]:
345+
) -> AsyncItemPaged["_models.BlobInventoryPolicy"]:
346346
"""Gets the blob inventory policy associated with the specified storage account.
347347
348348
:param resource_group_name: The name of the resource group within the user's subscription. The

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_blob_services_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# --------------------------------------------------------------------------
88
from collections.abc import MutableMapping
99
from io import IOBase
10-
from typing import Any, AsyncIterable, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
10+
from typing import Any, Callable, Dict, IO, Literal, Optional, TypeVar, Union, overload
1111
import urllib.parse
1212

1313
from azure.core import AsyncPipelineClient
@@ -62,7 +62,7 @@ def __init__(self, *args, **kwargs) -> None:
6262
@distributed_trace
6363
def list(
6464
self, resource_group_name: str, account_name: str, **kwargs: Any
65-
) -> AsyncIterable["_models.BlobServiceProperties"]:
65+
) -> AsyncItemPaged["_models.BlobServiceProperties"]:
6666
"""List blob services of storage account. It returns a collection of one object named default.
6767
6868
:param resource_group_name: The name of the resource group within the user's subscription. The

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_deleted_accounts_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
88
from collections.abc import MutableMapping
9-
from typing import Any, AsyncIterable, Callable, Dict, Optional, TypeVar
9+
from typing import Any, Callable, Dict, Optional, TypeVar
1010
import urllib.parse
1111

1212
from azure.core import AsyncPipelineClient
@@ -55,7 +55,7 @@ def __init__(self, *args, **kwargs) -> None:
5555
self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer")
5656

5757
@distributed_trace
58-
def list(self, **kwargs: Any) -> AsyncIterable["_models.DeletedAccount"]:
58+
def list(self, **kwargs: Any) -> AsyncItemPaged["_models.DeletedAccount"]:
5959
"""Lists deleted accounts under the subscription.
6060
6161
:return: An iterator like instance of either DeletedAccount or the result of cls(response)

sdk/storage/azure-mgmt-storage/azure/mgmt/storage/aio/operations/_encryption_scopes_operations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# --------------------------------------------------------------------------
88
from collections.abc import MutableMapping
99
from io import IOBase
10-
from typing import Any, AsyncIterable, Callable, Dict, IO, Optional, TypeVar, Union, overload
10+
from typing import Any, Callable, Dict, IO, Optional, TypeVar, Union, overload
1111
import urllib.parse
1212

1313
from azure.core import AsyncPipelineClient
@@ -458,7 +458,7 @@ def list(
458458
filter: Optional[str] = None,
459459
include: Optional[Union[str, _models.ListEncryptionScopesInclude]] = None,
460460
**kwargs: Any
461-
) -> AsyncIterable["_models.EncryptionScope"]:
461+
) -> AsyncItemPaged["_models.EncryptionScope"]:
462462
"""Lists all the encryption scopes available under the specified storage account.
463463
464464
:param resource_group_name: The name of the resource group within the user's subscription. The

0 commit comments

Comments
 (0)