Skip to content

Commit 8469012

Browse files
author
SDKAuto
committed
CodeGen from PR 31564 in Azure/azure-rest-api-specs
Merge c0dddaddfec8e2cf36cf535552e9c78bbb9c820c into f06cffbda682a8cd225a8b16bc6f000d26d01612
1 parent 15d3f80 commit 8469012

Some content is hidden

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

46 files changed

+1389
-1635
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "0be55256bbf339fa9274dffcb6f053fb27898f08",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/healthdataaiservices/HealthDataAIServices.DeidServices",
5+
"@azure-tools/typespec-python": "0.36.4"
6+
}

sdk/healthdataaiservices/azure-health-deidentification/azure/health/deidentification/__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 DeidentificationClient
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 DeidentificationClient # 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
"DeidentificationClient",
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-health-deidentification/azure/health/deidentification/_client.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@
1919
from ._serialization import Deserializer, Serializer
2020

2121
if TYPE_CHECKING:
22-
# pylint: disable=unused-import,ungrouped-imports
2322
from azure.core.credentials import TokenCredential
2423

2524

26-
class DeidentificationClient(
27-
DeidentificationClientOperationsMixin
28-
): # pylint: disable=client-accepts-api-version-keyword
25+
class DeidentificationClient(DeidentificationClientOperationsMixin):
2926
"""DeidentificationClient.
3027
3128
:param endpoint: Url of your De-identification Service. Required.

sdk/healthdataaiservices/azure-health-deidentification/azure/health/deidentification/_configuration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
from ._version import VERSION
1414

1515
if TYPE_CHECKING:
16-
# pylint: disable=unused-import,ungrouped-imports
1716
from azure.core.credentials import TokenCredential
1817

1918

20-
class DeidentificationClientConfiguration: # pylint: disable=too-many-instance-attributes,name-too-long
19+
class DeidentificationClientConfiguration: # pylint: disable=too-many-instance-attributes
2120
"""Configuration for DeidentificationClient.
2221
2322
Note that all parameters used to create this instance are saved as instance

0 commit comments

Comments
 (0)