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 29859 in Azure/azure-rest-api-specs
Merge cf73ca0d5e029552ea9748cc4c7dd4b21f270768 into f4092c2070791b90b2871578fcb20c04f37c5f4e
- Loading branch information
SDKAuto
committed
Feb 12, 2025
1 parent
96b2d6e
commit 4bf756b
Showing
85 changed files
with
2,068 additions
and
3,393 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": "09d5302c9903ee3235083fd060b38009575ff4d0", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/appconfiguration/AppConfiguration", | ||
"@azure-tools/typespec-python": "0.38.3" | ||
} |
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.