Skip to content

Commit e93f07c

Browse files
author
SDKAuto
committed
CodeGen from PR 31586 in Azure/azure-rest-api-specs
Merge a485479a16b8c7cf0c671af56270f9d6025fd545 into 8b29cc83b5ba7b07ebd8f9e5cb3f7a3a828b4cbf
1 parent 92abb29 commit e93f07c

File tree

132 files changed

+1092
-906
lines changed

Some content is hidden

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

132 files changed

+1092
-906
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "1ad29756bd141a47cac770140105a706d065ae1b",
2+
"commit": "0cc5459dc5de6089bd8897e0f4d480c184ace884",
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.27.4",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/hdinsight/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 --use=@autorest/python@6.19.0 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/hdinsight/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.27.4 --use=@autorest/[email protected] --version=3.10.2 --version-tolerant=False",
1010
"readme": "specification/hdinsight/resource-manager/readme.md"
1111
}

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/__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 ._hd_insight_management_client import HDInsightManagementClient
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._hd_insight_management_client import HDInsightManagementClient # 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
"HDInsightManagementClient",
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/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_configuration.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
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

21-
class HDInsightManagementClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
20+
class HDInsightManagementClientConfiguration: # pylint: disable=too-many-instance-attributes
2221
"""Configuration for HDInsightManagementClient.
2322
2423
Note that all parameters used to create this instance are saved as instance
@@ -29,13 +28,13 @@ class HDInsightManagementClientConfiguration: # pylint: disable=too-many-instan
2928
:param subscription_id: The subscription credentials which uniquely identify Microsoft Azure
3029
subscription. The subscription ID forms part of the URI for every service call. Required.
3130
:type subscription_id: str
32-
:keyword api_version: Api Version. Default value is "2024-08-01-preview". Note that overriding
31+
:keyword api_version: Api Version. Default value is "2025-01-15-preview". Note that overriding
3332
this default value may result in unsupported behavior.
3433
:paramtype api_version: str
3534
"""
3635

3736
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
38-
api_version: str = kwargs.pop("api_version", "2024-08-01-preview")
37+
api_version: str = kwargs.pop("api_version", "2025-01-15-preview")
3938

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

sdk/hdinsight/azure-mgmt-hdinsight/azure/mgmt/hdinsight/_hd_insight_management_client.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,10 @@
3333
)
3434

3535
if TYPE_CHECKING:
36-
# pylint: disable=unused-import,ungrouped-imports
3736
from azure.core.credentials import TokenCredential
3837

3938

40-
class HDInsightManagementClient: # pylint: disable=client-accepts-api-version-keyword,too-many-instance-attributes
39+
class HDInsightManagementClient: # pylint: disable=too-many-instance-attributes
4140
"""HDInsight Management Client.
4241
4342
:ivar applications: ApplicationsOperations operations
@@ -71,7 +70,7 @@ class HDInsightManagementClient: # pylint: disable=client-accepts-api-version-k
7170
:type subscription_id: str
7271
:param base_url: Service URL. Default value is "https://management.azure.com".
7372
:type base_url: str
74-
:keyword api_version: Api Version. Default value is "2024-08-01-preview". Note that overriding
73+
:keyword api_version: Api Version. Default value is "2025-01-15-preview". Note that overriding
7574
this default value may result in unsupported behavior.
7675
:paramtype api_version: str
7776
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no

0 commit comments

Comments
 (0)