forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 28708 in Azure/azure-rest-api-specs
Merge fcb692bd05dbad6d78863e3ec39d4c754c2e8a58 into 4e2ae4e43acbfc3d560d00a4960b7ecd9d3c7884
- Loading branch information
SDKAuto
committed
Dec 11, 2024
1 parent
d90e4e4
commit a542cbc
Showing
67 changed files
with
5,093 additions
and
8,837 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
include *.md | ||
include LICENSE | ||
include azure/__init__.py | ||
include azure/keyvault/__init__.py | ||
recursive-include samples *.py | ||
recursive-include tests *.py | ||
include azure/keyvault/certificates/py.typed | ||
recursive-include tests *.py | ||
recursive-include samples *.py *.md | ||
include azure/__init__.py | ||
include azure/keyvault/__init__.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commit": "2bb61765cfce3b9182a9a0c04de3828dcfc5d565", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/keyvault/Security.KeyVault.Certificates", | ||
"@azure-tools/typespec-python": "0.37.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
# ------------------------------------ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore |
4 changes: 0 additions & 4 deletions
4
sdk/keyvault/azure-keyvault-certificates/azure/keyvault/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
# ------------------------------------ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore |
80 changes: 28 additions & 52 deletions
80
sdk/keyvault/azure-keyvault-certificates/azure/keyvault/certificates/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,32 @@ | ||
# ------------------------------------ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
from ._client import CertificateClient | ||
from ._enums import( | ||
CertificatePolicyAction, | ||
KeyCurveName, | ||
KeyType, | ||
CertificateContentType, | ||
KeyUsageType, | ||
WellKnownIssuerNames | ||
) | ||
from ._models import( | ||
AdministratorContact, | ||
CertificateContact, | ||
CertificateIssuer, | ||
CertificateOperation, | ||
CertificateOperationError, | ||
CertificatePolicy, | ||
CertificateProperties, | ||
DeletedCertificate, | ||
IssuerProperties, | ||
LifetimeAction, | ||
KeyVaultCertificate, | ||
KeyVaultCertificateIdentifier | ||
) | ||
from ._shared.client_base import ApiVersion | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for license information. | ||
# Code generated by Microsoft (R) Python Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wrong-import-position | ||
|
||
__all__ = [ | ||
"ApiVersion", | ||
"CertificatePolicyAction", | ||
"AdministratorContact", | ||
"CertificateClient", | ||
"CertificateContact", | ||
"CertificateIssuer", | ||
"CertificateOperation", | ||
"CertificateOperationError", | ||
"CertificatePolicy", | ||
"CertificateProperties", | ||
"DeletedCertificate", | ||
"IssuerProperties", | ||
"KeyCurveName", | ||
"KeyType", | ||
"KeyVaultCertificate", | ||
"KeyVaultCertificateIdentifier", | ||
"KeyUsageType", | ||
"LifetimeAction", | ||
"CertificateContentType", | ||
"WellKnownIssuerNames", | ||
"CertificateIssuer", | ||
"IssuerProperties" | ||
] | ||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from ._patch import * # pylint: disable=unused-wildcard-import | ||
|
||
from ._client import KeyVaultClient # type: ignore | ||
from ._version import VERSION | ||
|
||
__version__ = VERSION | ||
|
||
try: | ||
from ._patch import __all__ as _patch_all | ||
from ._patch import * | ||
except ImportError: | ||
_patch_all = [] | ||
from ._patch import patch_sdk as _patch_sdk | ||
|
||
__all__ = [ | ||
"KeyVaultClient", | ||
] | ||
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore | ||
|
||
_patch_sdk() |
Oops, something went wrong.