Skip to content

Commit 6919b36

Browse files
author
SDKAuto
committed
CodeGen from PR 30578 in Azure/azure-rest-api-specs
Merge 34c5aaf5e8c5b95bf963ac0821fd0359e31097f7 into 0035f4bd79ef31f8d4e3303ed0a38c1087f57fcf
1 parent fd3d6b9 commit 6919b36

File tree

39 files changed

+827
-2811
lines changed

39 files changed

+827
-2811
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"commit": "cac34a4eb170a1fb08635573362a8923f106421d",
2+
"commit": "ad3531d07f936c972731c9230a5483bdce9e28cd",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"typespec_src": "specification/healthdataaiservices/HealthDataAIServices.Management",
5-
"@azure-tools/typespec-python": "0.28.0"
5+
"@azure-tools/typespec-python": "0.36.1"
66
}

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,10 @@
2020
from .operations import DeidServicesOperations, Operations, PrivateEndpointConnectionsOperations, PrivateLinksOperations
2121

2222
if TYPE_CHECKING:
23-
# pylint: disable=unused-import,ungrouped-imports
2423
from azure.core.credentials import TokenCredential
2524

2625

27-
class HealthDataAIServicesMgmtClient: # pylint: disable=client-accepts-api-version-keyword
26+
class HealthDataAIServicesMgmtClient:
2827
"""HealthDataAIServicesMgmtClient.
2928
3029
:ivar operations: Operations operations
@@ -42,9 +41,8 @@ class HealthDataAIServicesMgmtClient: # pylint: disable=client-accepts-api-vers
4241
:type subscription_id: str
4342
:param base_url: Service host. Default value is "https://management.azure.com".
4443
:type base_url: str
45-
:keyword api_version: The API version to use for this operation. Default value is
46-
"2024-02-28-preview". Note that overriding this default value may result in unsupported
47-
behavior.
44+
:keyword api_version: The API version to use for this operation. Default value is "2024-09-20".
45+
Note that overriding this default value may result in unsupported behavior.
4846
:paramtype api_version: str
4947
:keyword int polling_interval: Default waiting time between two polls for LRO operations if no
5048
Retry-After header is present.

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

Lines changed: 3 additions & 5 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

@@ -30,9 +29,8 @@ class HealthDataAIServicesMgmtClientConfiguration: # pylint: disable=too-many-i
3029
:type subscription_id: str
3130
:param base_url: Service host. Default value is "https://management.azure.com".
3231
:type base_url: str
33-
:keyword api_version: The API version to use for this operation. Default value is
34-
"2024-02-28-preview". Note that overriding this default value may result in unsupported
35-
behavior.
32+
:keyword api_version: The API version to use for this operation. Default value is "2024-09-20".
33+
Note that overriding this default value may result in unsupported behavior.
3634
:paramtype api_version: str
3735
"""
3836

@@ -43,7 +41,7 @@ def __init__(
4341
base_url: str = "https://management.azure.com",
4442
**kwargs: Any
4543
) -> None:
46-
api_version: str = kwargs.pop("api_version", "2024-02-28-preview")
44+
api_version: str = kwargs.pop("api_version", "2024-09-20")
4745

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

0 commit comments

Comments
 (0)