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 15b757e50957dd629d3aaf8dcf4432bc4eb9204a into e089938733153cb23b13f541961ce4e3d9870f2a
- Loading branch information
SDKAuto
committed
Nov 13, 2024
1 parent
c6d72f8
commit 48cdff4
Showing
68 changed files
with
5,528 additions
and
9,288 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": "7c147684f57975896edce7a2c1bed785fb809019", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/keyvault/Security.KeyVault.Certificates", | ||
"@azure-tools/typespec-python": "0.36.3" | ||
} |
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.