Skip to content

Commit

Permalink
CodeGen from PR 20978 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
fix (Azure#20978)

Co-authored-by: Manas Chakka <[email protected]>
  • Loading branch information
SDKAuto and Manas Chakka committed Oct 12, 2022
1 parent e3415c4 commit b9b8ea4
Show file tree
Hide file tree
Showing 736 changed files with 1,662,767 additions and 1,248,999 deletions.
10 changes: 5 additions & 5 deletions sdk/network/azure-mgmt-network/_meta.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"autorest": "3.7.2",
"autorest": "3.9.2",
"use": [
"@autorest/python@5.16.0",
"@autorest/modelerfour@4.19.3"
"@autorest/python@6.1.11",
"@autorest/modelerfour@4.24.3"
],
"commit": "66fcf8b0d60a8d869ac06d6b804a7fbca52d9d28",
"commit": "dc4bf6c71a3bbf76f3f56b018645d8869f7f3d9d",
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/home/vsts/work/1/azure-sdk-for-python/sdk --python3-only --use=@autorest/python@5.16.0 --use=@autorest/modelerfour@4.19.3 --version=3.7.2",
"autorest_command": "autorest specification/network/resource-manager/readme.md --python --python-sdks-folder=/mnt/vss/_work/1/s/azure-sdk-for-python/sdk --use=@autorest/python@6.1.11 --use=@autorest/modelerfour@4.24.3 --version=3.9.2 --version-tolerant=False",
"readme": "specification/network/resource-manager/readme.md"
}
7 changes: 4 additions & 3 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@
# --------------------------------------------------------------------------

from ._network_management_client import NetworkManagementClient
from ._version import VERSION

__all__ = ['NetworkManagementClient']
__version__ = VERSION

try:
from ._patch import patch_sdk # type: ignore
patch_sdk()
except ImportError:
pass

from ._version import VERSION

__version__ = VERSION
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from typing import TYPE_CHECKING
from typing import Any, TYPE_CHECKING

from azure.core.configuration import Configuration
from azure.core.pipeline import policies
Expand All @@ -18,8 +18,6 @@

if TYPE_CHECKING:
# pylint: disable=unused-import,ungrouped-imports
from typing import Any

from azure.core.credentials import TokenCredential

class NetworkManagementClientConfiguration(Configuration):
Expand All @@ -28,16 +26,16 @@ class NetworkManagementClientConfiguration(Configuration):
Note that all parameters used to create this instance are saved as instance
attributes.
:param credential: Credential needed for the client to connect to Azure.
:param credential: Credential needed for the client to connect to Azure. Required.
:type credential: ~azure.core.credentials.TokenCredential
:param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
:param subscription_id: The subscription credentials which uniquely identify the Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. Required.
:type subscription_id: str
"""

def __init__(
self,
credential, # type: "TokenCredential"
subscription_id, # type: str
credential: "TokenCredential",
subscription_id: str,
**kwargs # type: Any
):
# type: (...) -> None
Expand Down
1,011 changes: 605 additions & 406 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/_network_management_client.py

Large diffs are not rendered by default.

468 changes: 238 additions & 230 deletions sdk/network/azure-mgmt-network/azure/mgmt/network/_operations_mixin.py

Large diffs are not rendered by default.

Loading

0 comments on commit b9b8ea4

Please sign in to comment.