Skip to content

Commit

Permalink
CodeGen from PR 21607 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 18966b9c673fbe0cf52fb2f328fd1c90d4c19c9e into dcec109c164e69f0f122ff74fc551108da8af20e
  • Loading branch information
SDKAuto committed Nov 18, 2022
1 parent 02fe603 commit 8b34e2a
Show file tree
Hide file tree
Showing 1,441 changed files with 92,293 additions and 103,070 deletions.
8 changes: 4 additions & 4 deletions sdk/compute/azure-mgmt-compute/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"commit": "8c2dbd4cea1947c381cd0436471a78fa8fe3ba41",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest": "3.9.2",
"use": [
"@autorest/python@6.1.11",
"@autorest/python@6.2.7",
"@autorest/[email protected]"
],
"commit": "3cc85e694a07ba8ea5d0f21cefef71205dc3846e",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"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",
"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",
"readme": "specification/compute/resource-manager/readme.md"
}
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ def __init__(
self,
credential: "TokenCredential",
subscription_id: str,
api_version=None, # type: Optional[str]
api_version: Optional[str]=None,
base_url: str = "https://management.azure.com",
profile=KnownProfiles.default, # type: KnownProfiles
**kwargs # type: Any
profile: KnownProfiles=KnownProfiles.default,
**kwargs: Any
):
self._config = ComputeManagementClientConfiguration(credential, subscription_id, **kwargs)
self._client = ARMPipelineClient(base_url=base_url, config=self._config, **kwargs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,8 @@ def __init__(
self,
credential: "TokenCredential",
subscription_id: str,
**kwargs # type: Any
**kwargs: Any
):
# type: (...) -> None
if credential is None:
raise ValueError("Parameter 'credential' must not be None.")
if subscription_id is None:
Expand All @@ -53,9 +52,8 @@ def __init__(

def _configure(
self,
**kwargs # type: Any
**kwargs: Any
):
# type: (...) -> None
self.user_agent_policy = kwargs.get('user_agent_policy') or policies.UserAgentPolicy(**kwargs)
self.headers_policy = kwargs.get('headers_policy') or policies.HeadersPolicy(**kwargs)
self.proxy_policy = kwargs.get('proxy_policy') or policies.ProxyPolicy(**kwargs)
Expand Down
Loading

0 comments on commit 8b34e2a

Please sign in to comment.