Skip to content

Commit 4203b0d

Browse files
author
SDKAuto
committed
CodeGen from PR 32335 in Azure/azure-rest-api-specs
Merge 1d4629f5519fdc33cec6e3fabd0f965ff540bbfb into ffa149a9e348ce22e5f50d607c768457a25c0022
1 parent 634a210 commit 4203b0d

File tree

105 files changed

+5282
-11340
lines changed

Some content is hidden

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

105 files changed

+5282
-11340
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/keys/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": "1ba5dd7a40742434101a1d705b537a71a7c585c5",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/keyvault/Security.KeyVault.Keys",
5+
"@azure-tools/typespec-python": "0.38.1"
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 & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,32 @@
1-
# ------------------------------------
2-
# Copyright (c) Microsoft Corporation.
3-
# Licensed under the MIT License.
4-
# -------------------------------------
5-
from ._enums import KeyCurveName, KeyExportEncryptionAlgorithm, KeyOperation, KeyRotationPolicyAction, KeyType
6-
from ._shared.client_base import ApiVersion
7-
from ._models import (
8-
DeletedKey,
9-
JsonWebKey,
10-
KeyProperties,
11-
KeyReleasePolicy,
12-
KeyRotationLifetimeAction,
13-
KeyRotationPolicy,
14-
KeyVaultKey,
15-
KeyVaultKeyIdentifier,
16-
ReleaseKeyResult,
17-
)
18-
from ._client import KeyClient
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
199

20-
__all__ = [
21-
"ApiVersion",
22-
"KeyClient",
23-
"JsonWebKey",
24-
"KeyVaultKey",
25-
"KeyVaultKeyIdentifier",
26-
"KeyCurveName",
27-
"KeyExportEncryptionAlgorithm",
28-
"KeyOperation",
29-
"KeyRotationPolicyAction",
30-
"KeyType",
31-
"DeletedKey",
32-
"KeyProperties",
33-
"KeyReleasePolicy",
34-
"KeyRotationLifetimeAction",
35-
"KeyRotationPolicy",
36-
"ReleaseKeyResult",
37-
]
10+
from typing import TYPE_CHECKING
3811

12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import KeyVaultClient # type: ignore
3916
from ._version import VERSION
4017

4118
__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()

0 commit comments

Comments
 (0)