Skip to content

Commit 71cca31

Browse files
author
SDKAuto
committed
CodeGen from PR 21571 in Azure/azure-rest-api-specs
Merge 203fb5481802681bec08effd5bc99830ecc1de10 into 25bfafa4fc73bb7e876dd5ef00f19b9aa9ba628a
1 parent 8250258 commit 71cca31

File tree

1,426 files changed

+95019
-70672
lines changed

Some content is hidden

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

1,426 files changed

+95019
-70672
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2+
"commit": "d8880f781ebef6ce07d4a663d4037facda1ecb0b",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
24
"autorest": "3.9.2",
35
"use": [
4-
"@autorest/python@6.1.11",
6+
"@autorest/python@6.2.7",
57
"@autorest/[email protected]"
68
],
7-
"commit": "3cc85e694a07ba8ea5d0f21cefef71205dc3846e",
8-
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
9-
"autorest_command": "autorest specification/compute/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/[email protected] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/compute/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] --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/compute/resource-manager/readme.md"
1111
}

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_compute_management_client.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,10 @@ def __init__(
8989
self,
9090
credential: "TokenCredential",
9191
subscription_id: str,
92-
api_version=None, # type: Optional[str]
92+
api_version: Optional[str]=None,
9393
base_url: str = "https://management.azure.com",
94-
profile=KnownProfiles.default, # type: KnownProfiles
95-
**kwargs # type: Any
94+
profile: KnownProfiles=KnownProfiles.default,
95+
**kwargs: Any
9696
):
9797
self._config = ComputeManagementClientConfiguration(credential, subscription_id, **kwargs)
9898
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)

sdk/compute/azure-mgmt-compute/azure/mgmt/compute/_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)

0 commit comments

Comments
 (0)