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 32939 in Azure/azure-rest-api-specs
Merge e33404d37170c8cee12ae0ea730fd1cbe1763700 into af57daeaf232c2a59bf4ba6a522479c265e2002e
- Loading branch information
SDKAuto
committed
Mar 7, 2025
1 parent
8c14799
commit fe5d89b
Showing
90 changed files
with
2,056 additions
and
3,405 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commit": "a31f47c3a37a074d550e5647834b96fd74b67132", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/appconfiguration/AppConfiguration", | ||
"@azure-tools/typespec-python": "0.39.0" | ||
} |
38 changes: 38 additions & 0 deletions
38
sdk/appconfiguration/azure-appconfiguration/apiview-properties.json
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,38 @@ | ||
{ | ||
"CrossLanguagePackageId": "AzureAppConfiguration", | ||
"CrossLanguageDefinitionId": { | ||
"azure.appconfiguration.models.Error": "AzureAppConfiguration.Error", | ||
"azure.appconfiguration.models.Key": "AzureAppConfiguration.Key", | ||
"azure.appconfiguration.models.KeyValue": "AzureAppConfiguration.KeyValue", | ||
"azure.appconfiguration.models.KeyValueFilter": "AzureAppConfiguration.KeyValueFilter", | ||
"azure.appconfiguration.models.Label": "AzureAppConfiguration.Label", | ||
"azure.appconfiguration.models.OperationDetails": "AzureAppConfiguration.OperationDetails", | ||
"azure.appconfiguration.models.Snapshot": "AzureAppConfiguration.Snapshot", | ||
"azure.appconfiguration.models.SnapshotUpdateParameters": "AzureAppConfiguration.SnapshotUpdateParameters", | ||
"azure.appconfiguration.models.ConfigurationSettingFields": "AzureAppConfiguration.KeyValueFields", | ||
"azure.appconfiguration.models.SnapshotStatus": "AzureAppConfiguration.SnapshotStatus", | ||
"azure.appconfiguration.models.SnapshotComposition": "AzureAppConfiguration.CompositionType", | ||
"azure.appconfiguration.models.SnapshotFields": "AzureAppConfiguration.SnapshotFields", | ||
"azure.appconfiguration.models.OperationState": "Azure.Core.Foundations.OperationState", | ||
"azure.appconfiguration.models.LabelFields": "AzureAppConfiguration.LabelFields", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_keys": "AzureAppConfiguration.getKeys", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_keys": "AzureAppConfiguration.checkKeys", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_key_values": "AzureAppConfiguration.getKeyValues", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_key_values": "AzureAppConfiguration.checkKeyValues", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_key_value": "AzureAppConfiguration.getKeyValue", | ||
"azure.appconfiguration.AzureAppConfigurationClient.delete_key_value": "AzureAppConfiguration.deleteKeyValue", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_key_value": "AzureAppConfiguration.checkKeyValue", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_snapshots": "AzureAppConfiguration.getSnapshots", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_snapshots": "AzureAppConfiguration.checkSnapshots", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_snapshot": "AzureAppConfiguration.getSnapshot", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_operation_details": "AzureAppConfiguration.getOperationDetails", | ||
"azure.appconfiguration.AzureAppConfigurationClient.begin_create_snapshot": "AzureAppConfiguration.createSnapshot", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_snapshot": "AzureAppConfiguration.checkSnapshot", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_labels": "AzureAppConfiguration.getLabels", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_labels": "AzureAppConfiguration.checkLabels", | ||
"azure.appconfiguration.AzureAppConfigurationClient.put_lock": "AzureAppConfiguration.putLock", | ||
"azure.appconfiguration.AzureAppConfigurationClient.delete_lock": "AzureAppConfiguration.deleteLock", | ||
"azure.appconfiguration.AzureAppConfigurationClient.get_revisions": "AzureAppConfiguration.getRevisions", | ||
"azure.appconfiguration.AzureAppConfigurationClient.check_revisions": "AzureAppConfiguration.checkRevisions" | ||
} | ||
} |
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 +1 @@ | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) | ||
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore |
60 changes: 21 additions & 39 deletions
60
sdk/appconfiguration/azure-appconfiguration/azure/appconfiguration/__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,50 +1,32 @@ | ||
# 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) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# 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 | ||
|
||
from ._azure_appconfiguration_client import AzureAppConfigurationClient | ||
from ._constants import FILTER_PERCENTAGE, FILTER_TARGETING, FILTER_TIME_WINDOW | ||
from ._models import ( | ||
ConfigurationSetting, | ||
FeatureFlagConfigurationSetting, | ||
SecretReferenceConfigurationSetting, | ||
ConfigurationSettingsFilter, | ||
ConfigurationSnapshot, | ||
ConfigurationSettingLabel, | ||
) | ||
from ._generated.models import ( | ||
SnapshotStatus, | ||
LabelFields, | ||
SnapshotFields, | ||
ConfigurationSettingFields, | ||
SnapshotComposition, | ||
) | ||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from ._patch import * # pylint: disable=unused-wildcard-import | ||
|
||
from ._client import AzureAppConfigurationClient # type: ignore | ||
from ._version import VERSION | ||
from ._azure_appconfiguration_error import ResourceReadOnlyError | ||
|
||
__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__ = [ | ||
"AzureAppConfigurationClient", | ||
"ConfigurationSetting", | ||
"ResourceReadOnlyError", | ||
"FeatureFlagConfigurationSetting", | ||
"SecretReferenceConfigurationSetting", | ||
"ConfigurationSnapshot", | ||
"SnapshotStatus", | ||
"SnapshotFields", | ||
"SnapshotComposition", | ||
"LabelFields", | ||
"ConfigurationSettingFields", | ||
"ConfigurationSettingsFilter", | ||
"ConfigurationSettingLabel", | ||
"FILTER_PERCENTAGE", | ||
"FILTER_TARGETING", | ||
"FILTER_TIME_WINDOW", | ||
] | ||
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore | ||
|
||
_patch_sdk() |
Oops, something went wrong.