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 61ec663628fa7952a4a5422318d738a95532e3fc into f44ee842a7facb754ae4aa06c78157a0cbb8b30a
- Loading branch information
SDKAuto
committed
Nov 21, 2024
1 parent
980c335
commit fc7ea56
Showing
68 changed files
with
5,504 additions
and
9,184 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": "8b6085fe50c8f5e9a2c35ac9dc67a332863a06ed", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/keyvault/Security.KeyVault.Certificates", | ||
"@azure-tools/typespec-python": "0.36.5" | ||
} |
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.