Skip to content

Commit 5a90adc

Browse files
author
SDKAuto
committed
CodeGen from PR 22695 in Azure/azure-rest-api-specs
Merge 5e894027c1aa3338694bc10baa804af749782c35 into 3a2c320161b3576c6282189535602cb541a254b9
1 parent c7fee36 commit 5a90adc

File tree

60 files changed

+1213
-1069
lines changed

Some content is hidden

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

60 files changed

+1213
-1069
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"commit": "30deed618795ce9e4a549aa16ef349ae2b03785c",
2+
"commit": "d5fe2b6a0f92fabf8350ba5eae2c74a73461fa2e",
33
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
44
"autorest": "3.9.2",
55
"use": [
6-
"@autorest/python@6.2.1",
6+
"@autorest/python@6.4.0",
77
"@autorest/[email protected]"
88
],
9-
"autorest_command": "autorest specification/signalr/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/python@6.2.1 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
9+
"autorest_command": "autorest specification/signalr/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.4.0 --use=@autorest/[email protected] --version=3.9.2 --version-tolerant=False",
1010
"readme": "specification/signalr/resource-manager/readme.md"
1111
}

sdk/signalr/azure-mgmt-signalr/azure/mgmt/signalr/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
try:
1515
from ._patch import __all__ as _patch_all
16-
from ._patch import * # type: ignore # pylint: disable=unused-wildcard-import
16+
from ._patch import * # pylint: disable=unused-wildcard-import
1717
except ImportError:
1818
_patch_all = []
1919
from ._patch import patch_sdk as _patch_sdk

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ class SignalRManagementClientConfiguration(Configuration): # pylint: disable=to
3636
:param subscription_id: Gets subscription Id which uniquely identify the Microsoft Azure
3737
subscription. The subscription ID forms part of the URI for every service call. Required.
3838
:type subscription_id: str
39-
:keyword api_version: Api Version. Default value is "2022-08-01-preview". Note that overriding
40-
this default value may result in unsupported behavior.
39+
:keyword api_version: Api Version. Default value is "2023-02-01". Note that overriding this
40+
default value may result in unsupported behavior.
4141
:paramtype api_version: str
4242
"""
4343

4444
def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs: Any) -> None:
4545
super(SignalRManagementClientConfiguration, self).__init__(**kwargs)
46-
api_version = kwargs.pop("api_version", "2022-08-01-preview") # type: Literal["2022-08-01-preview"]
46+
api_version: Literal["2023-02-01"] = kwargs.pop("api_version", "2023-02-01")
4747

4848
if credential is None:
4949
raise ValueError("Parameter 'credential' must not be None.")
@@ -57,10 +57,7 @@ def __init__(self, credential: "TokenCredential", subscription_id: str, **kwargs
5757
kwargs.setdefault("sdk_moniker", "mgmt-signalr/{}".format(VERSION))
5858
self._configure(**kwargs)
5959

60-
def _configure(
61-
self, **kwargs # type: Any
62-
):
63-
# type: (...) -> None
60+
def _configure(self, **kwargs: Any) -> None:
6461
self.user_agent_policy = kwargs.get("user_agent_policy") or policies.UserAgentPolicy(**kwargs)
6562
self.headers_policy = kwargs.get("headers_policy") or policies.HeadersPolicy(**kwargs)
6663
self.proxy_policy = kwargs.get("proxy_policy") or policies.ProxyPolicy(**kwargs)

0 commit comments

Comments
 (0)