Skip to content

Commit

Permalink
CodeGen from PR 28708 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge fcb692bd05dbad6d78863e3ec39d4c754c2e8a58 into 4e2ae4e43acbfc3d560d00a4960b7ecd9d3c7884
  • Loading branch information
SDKAuto committed Dec 11, 2024
1 parent d90e4e4 commit a542cbc
Show file tree
Hide file tree
Showing 67 changed files with 5,093 additions and 8,837 deletions.
8 changes: 4 additions & 4 deletions sdk/keyvault/azure-keyvault-certificates/MANIFEST.in
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
6 changes: 6 additions & 0 deletions sdk/keyvault/azure-keyvault-certificates/_meta.json
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"
}
4 changes: 0 additions & 4 deletions sdk/keyvault/azure-keyvault-certificates/azure/__init__.py
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
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
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()
Loading

0 comments on commit a542cbc

Please sign in to comment.