Skip to content

Commit 2cde689

Browse files
author
SDKAuto
committed
CodeGen from PR 21617 in Azure/azure-rest-api-specs
Merge 4f9f6a395c2319f802b67cec1068dbfef5816ead into fc0c0316bf5187af413a256c484c1e2a259e18b8
1 parent 0c635a0 commit 2cde689

File tree

487 files changed

+317814
-256114
lines changed

Some content is hidden

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

487 files changed

+317814
-256114
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "021e5ab6ec840d651d32a2c6bdf832800cdf8eb6",
2+
"commit": "be6041c41afeb88fc65422cf5bf22157d9e833fd",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/python@6.1.11",
6+
"@autorest/python@6.2.7",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --use=@autorest/python@6.1.11 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/network/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/python@6.2.7 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/network/resource-manager/readme.md"
1111
}

sdk/network/azure-mgmt-network/azure/mgmt/network/_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/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py

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

0 commit comments

Comments
 (0)