Skip to content

Commit ebf2f8d

Browse files
author
SDKAuto
committed
CodeGen from PR 30530 in Azure/azure-rest-api-specs
Merge 4d4e2d9fb11c22c998b0fc53311c23e723e96c13 into 436b98d8f2146f4cb1ba1d8271039ea95a43022c
1 parent 67aa17f commit ebf2f8d

File tree

166 files changed

+1430
-1136
lines changed

Some content is hidden

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

166 files changed

+1430
-1136
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "f1e65f90e77a72258801439e757fc76ecb13a7fc",
2+
"commit": "d4b69f0746c5a6fc9adbc7bc0f11eb84a21d82d3",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.10.2",
55
"use": [
6-
"@autorest/python@6.19.0",
6+
"@autorest/python@6.26.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/desktopvirtualization/resource-manager/readme.md --generate-sample=True --generate-test=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --tag=package-2024-04 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/desktopvirtualization/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/s/azure-sdk-for-python/sdk --use=@autorest/python@6.26.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/desktopvirtualization/resource-manager/readme.md"
1111
}

sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization/__init__.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,28 @@
55
# Code generated by Microsoft (R) AutoRest Code Generator.
66
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
77
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
89

9-
from ._desktop_virtualization_mgmt_client import DesktopVirtualizationMgmtClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._desktop_virtualization_mgmt_client import DesktopVirtualizationMgmtClient # type: ignore
1016
from ._version import VERSION
1117

1218
__version__ = VERSION
1319

1420
try:
1521
from ._patch import __all__ as _patch_all
16-
from ._patch import * # pylint: disable=unused-wildcard-import
22+
from ._patch import *
1723
except ImportError:
1824
_patch_all = []
1925
from ._patch import patch_sdk as _patch_sdk
2026

2127
__all__ = [
2228
"DesktopVirtualizationMgmtClient",
2329
]
24-
__all__.extend([p for p in _patch_all if p not in __all__])
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
2531

2632
_patch_sdk()

sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization/_configuration.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
from ._version import VERSION
1515

1616
if TYPE_CHECKING:
17-
# pylint: disable=unused-import,ungrouped-imports
1817
from azure.core.credentials import TokenCredential
1918

2019

@@ -28,13 +27,13 @@ class DesktopVirtualizationMgmtClientConfiguration: # pylint: disable=too-many-
2827
:type credential: ~azure.core.credentials.TokenCredential
2928
:param subscription_id: The ID of the target subscription. The value must be an UUID. Required.
3029
:type subscription_id: str
31-
:keyword api_version: Api Version. Default value is "2024-04-03". Note that overriding this
30+
:keyword api_version: Api Version. Default value is "2024-09-10". Note that overriding this
3231
default value may result in unsupported behavior.
3332
:paramtype api_version: str
3433
"""
3534

3635
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
37-
api_version: str = kwargs.pop("api_version", "2024-04-03")
36+
api_version: str = kwargs.pop("api_version", "2024-09-10")
3837

3938
if credential is None:
4039
raise ValueError("Parameter 'credential' must not be None.")

sdk/desktopvirtualization/azure-mgmt-desktopvirtualization/azure/mgmt/desktopvirtualization/_desktop_virtualization_mgmt_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,10 @@
4040
)
4141

4242
if TYPE_CHECKING:
43-
# pylint: disable=unused-import,ungrouped-imports
4443
from azure.core.credentials import TokenCredential
4544

4645

47-
class DesktopVirtualizationMgmtClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
46+
class DesktopVirtualizationMgmtClient: # pylint: disable=too-many-instance-attributes
4847
"""DesktopVirtualizationMgmtClient.
4948
5049
:ivar operations: Operations operations
@@ -96,7 +95,7 @@ class DesktopVirtualizationMgmtClient: # pylint: disable=client-accepts-api-ver
9695
:type subscription_id: str
9796
:param base_url: Service URL. Default value is "https://management.azure.com".
9897
:type base_url: str
99-
:keyword api_version: Api Version. Default value is "2024-04-03". Note that overriding this
98+
:keyword api_version: Api Version. Default value is "2024-09-10". Note that overriding this
10099
default value may result in unsupported behavior.
101100
:paramtype api_version: str
102101
"""

0 commit comments

Comments
 (0)