Skip to content

Commit 630fc56

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

Some content is hidden

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

67 files changed

+5077
-8886
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/certificates/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.Certificates",
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: 28 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,32 @@
1-
# ------------------------------------
2-
# Copyright (c) Microsoft Corporation.
3-
# Licensed under the MIT License.
4-
# ------------------------------------
5-
from ._client import CertificateClient
6-
from ._enums import(
7-
CertificatePolicyAction,
8-
KeyCurveName,
9-
KeyType,
10-
CertificateContentType,
11-
KeyUsageType,
12-
WellKnownIssuerNames
13-
)
14-
from ._models import(
15-
AdministratorContact,
16-
CertificateContact,
17-
CertificateIssuer,
18-
CertificateOperation,
19-
CertificateOperationError,
20-
CertificatePolicy,
21-
CertificateProperties,
22-
DeletedCertificate,
23-
IssuerProperties,
24-
LifetimeAction,
25-
KeyVaultCertificate,
26-
KeyVaultCertificateIdentifier
27-
)
28-
from ._shared.client_base import ApiVersion
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
299

30-
__all__ = [
31-
"ApiVersion",
32-
"CertificatePolicyAction",
33-
"AdministratorContact",
34-
"CertificateClient",
35-
"CertificateContact",
36-
"CertificateIssuer",
37-
"CertificateOperation",
38-
"CertificateOperationError",
39-
"CertificatePolicy",
40-
"CertificateProperties",
41-
"DeletedCertificate",
42-
"IssuerProperties",
43-
"KeyCurveName",
44-
"KeyType",
45-
"KeyVaultCertificate",
46-
"KeyVaultCertificateIdentifier",
47-
"KeyUsageType",
48-
"LifetimeAction",
49-
"CertificateContentType",
50-
"WellKnownIssuerNames",
51-
"CertificateIssuer",
52-
"IssuerProperties"
53-
]
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
5414

15+
from ._client import KeyVaultClient # type: ignore
5516
from ._version import VERSION
17+
5618
__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)