Skip to content

Commit c6990e4

Browse files
author
SDKAuto
committed
CodeGen from PR 30239 in Azure/azure-rest-api-specs
Merge 37496f547e4882a70079747cf07e98f870efed00 into aa4ba9eb0ab21268118c11052b081ff5d2e01e4d
1 parent a6359b6 commit c6990e4

Some content is hidden

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

70 files changed

+6398
-6604
lines changed
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
include *.md
22
include LICENSE
3-
include azure/__init__.py
4-
include azure/keyvault/__init__.py
5-
recursive-include samples *.py
6-
recursive-include tests *.py
73
include azure/keyvault/administration/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
7+
include azure/keyvault/__init__.py
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "1d4e349a0980bedfa29d95f13a078d02ff655649",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/keyvault/Security.KeyVault.Administration",
5+
"@azure-tools/typespec-python": "0.38.0"
6+
}
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# ------------------------------------
2-
# Copyright (c) Microsoft Corporation.
3-
# Licensed under the MIT License.
4-
# ------------------------------------
51
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
# ------------------------------------
2-
# Copyright (c) Microsoft Corporation.
3-
# Licensed under the MIT License.
4-
# ------------------------------------
51
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,32 @@
1-
# ------------------------------------
2-
# Copyright (c) Microsoft Corporation.
3-
# Licensed under the MIT License.
4-
# ------------------------------------
5-
from ._access_control_client import KeyVaultAccessControlClient
6-
from ._backup_client import KeyVaultBackupClient
7-
from ._enums import KeyVaultRoleScope, KeyVaultDataAction, KeyVaultSettingType
8-
from ._internal.client_base import ApiVersion
9-
from ._models import (
10-
KeyVaultBackupResult,
11-
KeyVaultPermission,
12-
KeyVaultRoleAssignment,
13-
KeyVaultRoleAssignmentProperties,
14-
KeyVaultRoleDefinition,
15-
KeyVaultSetting,
16-
)
17-
from ._settings_client import KeyVaultSettingsClient
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) Python Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
189

10+
from typing import TYPE_CHECKING
1911

20-
__all__ = [
21-
"ApiVersion",
22-
"KeyVaultBackupResult",
23-
"KeyVaultAccessControlClient",
24-
"KeyVaultBackupClient",
25-
"KeyVaultDataAction",
26-
"KeyVaultPermission",
27-
"KeyVaultRoleAssignment",
28-
"KeyVaultRoleAssignmentProperties",
29-
"KeyVaultRoleDefinition",
30-
"KeyVaultRoleScope",
31-
"KeyVaultSetting",
32-
"KeyVaultSettingsClient",
33-
"KeyVaultSettingType",
34-
]
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
3514

15+
from ._client import KeyVaultClient # type: ignore
3616
from ._version import VERSION
17+
3718
__version__ = VERSION
19+
20+
try:
21+
from ._patch import __all__ as _patch_all
22+
from ._patch import *
23+
except ImportError:
24+
_patch_all = []
25+
from ._patch import patch_sdk as _patch_sdk
26+
27+
__all__ = [
28+
"KeyVaultClient",
29+
]
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
31+
32+
_patch_sdk()

sdk/keyvault/azure-keyvault-administration/azure/keyvault/administration/_access_control_client.py

Lines changed: 0 additions & 268 deletions
This file was deleted.

0 commit comments

Comments
 (0)