Skip to content

Commit 63171e5

Browse files
author
SDKAuto
committed
CodeGen from PR 21954 in Azure/azure-rest-api-specs
Merge 720fe4fdeaf1311bea201fe41cd71cd4059a8f5b into 103199909dcf0aa3ba4748acbee0067b4389c1b5
1 parent c45589e commit 63171e5

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

+624
-653
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "5ad969c742647212adb951f9e96858a5b2a761f9",
2+
"commit": "22bef2a8379766d401492daf926a7ae93148a970",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/[email protected].1",
6+
"@autorest/[email protected].7",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/resourcehealth/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected].1 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/resourcehealth/resource-manager/readme.md --generate-sample=True --include-x-ms-examples-original-file=True --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/[email protected].7 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/resourcehealth/resource-manager/readme.md"
1111
}

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ def __init__(
3636
self,
3737
credential: "TokenCredential",
3838
subscription_id: str,
39-
**kwargs # type: Any
39+
**kwargs: Any
4040
):
41-
# type: (...) -> None
4241
if credential is None:
4342
raise ValueError("Parameter 'credential' must not be None.")
4443
if subscription_id is None:
@@ -53,9 +52,8 @@ def __init__(
5352

5453
def _configure(
5554
self,
56-
**kwargs # type: Any
55+
**kwargs: Any
5756
):
58-
# type: (...) -> None
5957
self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
6058
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
6159
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)

sdk/resourcehealth/azure-mgmt-resourcehealth/azure/mgmt/resourcehealth/_microsoft_resource_health.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@ def __init__(
6767
self,
6868
credential: "TokenCredential",
6969
subscription_id: str,
70-
api_version=None, # type: Optional[str]
70+
api_version: Optional[str]=None,
7171
base_url: str = "https://management.azure.com",
72-
profile=KnownProfiles.default, # type: KnownProfiles
73-
**kwargs # type: Any
72+
profile: KnownProfiles=KnownProfiles.default,
73+
**kwargs: Any
7474
):
7575
self._config = MicrosoftResourceHealthConfiguration(credential, subscription_id, **kwargs)
7676
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)

0 commit comments

Comments
 (0)