Skip to content

Commit 6f1951e

Browse files
author
SDKAuto
committed
CodeGen from PR 33441 in Azure/azure-rest-api-specs
Merge 61986c0207f48566fd3f0238305e2ec097cb7ac1 into bc79b816272c7e12d79e8bc63d689327fc37d11f
1 parent 7656cf2 commit 6f1951e

File tree

90 files changed

+2118
-3442
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+2118
-3442
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "9029d073924ec35c84b2973464bdd1f899fed75e",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/appconfiguration/AppConfiguration",
5+
"@azure-tools/typespec-python": "0.40.0"
6+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"CrossLanguagePackageId": "AzureAppConfiguration",
3+
"CrossLanguageDefinitionId": {
4+
"azure.appconfiguration.models.Error": "AzureAppConfiguration.Error",
5+
"azure.appconfiguration.models.Key": "AzureAppConfiguration.Key",
6+
"azure.appconfiguration.models.KeyValue": "AzureAppConfiguration.KeyValue",
7+
"azure.appconfiguration.models.KeyValueFilter": "AzureAppConfiguration.KeyValueFilter",
8+
"azure.appconfiguration.models.Label": "AzureAppConfiguration.Label",
9+
"azure.appconfiguration.models.OperationDetails": "AzureAppConfiguration.OperationDetails",
10+
"azure.appconfiguration.models.Snapshot": "AzureAppConfiguration.Snapshot",
11+
"azure.appconfiguration.models.SnapshotUpdateParameters": "AzureAppConfiguration.SnapshotUpdateParameters",
12+
"azure.appconfiguration.models.ConfigurationSettingFields": "AzureAppConfiguration.KeyValueFields",
13+
"azure.appconfiguration.models.SnapshotStatus": "AzureAppConfiguration.SnapshotStatus",
14+
"azure.appconfiguration.models.SnapshotComposition": "AzureAppConfiguration.CompositionType",
15+
"azure.appconfiguration.models.SnapshotFields": "AzureAppConfiguration.SnapshotFields",
16+
"azure.appconfiguration.models.OperationState": "Azure.Core.Foundations.OperationState",
17+
"azure.appconfiguration.models.LabelFields": "AzureAppConfiguration.LabelFields",
18+
"azure.appconfiguration.AzureAppConfigurationClient.get_keys": "AzureAppConfiguration.getKeys",
19+
"azure.appconfiguration.AzureAppConfigurationClient.check_keys": "AzureAppConfiguration.checkKeys",
20+
"azure.appconfiguration.AzureAppConfigurationClient.get_key_values": "AzureAppConfiguration.getKeyValues",
21+
"azure.appconfiguration.AzureAppConfigurationClient.check_key_values": "AzureAppConfiguration.checkKeyValues",
22+
"azure.appconfiguration.AzureAppConfigurationClient.get_key_value": "AzureAppConfiguration.getKeyValue",
23+
"azure.appconfiguration.AzureAppConfigurationClient.delete_key_value": "AzureAppConfiguration.deleteKeyValue",
24+
"azure.appconfiguration.AzureAppConfigurationClient.check_key_value": "AzureAppConfiguration.checkKeyValue",
25+
"azure.appconfiguration.AzureAppConfigurationClient.get_snapshots": "AzureAppConfiguration.getSnapshots",
26+
"azure.appconfiguration.AzureAppConfigurationClient.check_snapshots": "AzureAppConfiguration.checkSnapshots",
27+
"azure.appconfiguration.AzureAppConfigurationClient.get_snapshot": "AzureAppConfiguration.getSnapshot",
28+
"azure.appconfiguration.AzureAppConfigurationClient.get_operation_details": "AzureAppConfiguration.getOperationDetails",
29+
"azure.appconfiguration.AzureAppConfigurationClient.begin_create_snapshot": "AzureAppConfiguration.createSnapshot",
30+
"azure.appconfiguration.AzureAppConfigurationClient.check_snapshot": "AzureAppConfiguration.checkSnapshot",
31+
"azure.appconfiguration.AzureAppConfigurationClient.get_labels": "AzureAppConfiguration.getLabels",
32+
"azure.appconfiguration.AzureAppConfigurationClient.check_labels": "AzureAppConfiguration.checkLabels",
33+
"azure.appconfiguration.AzureAppConfigurationClient.put_lock": "AzureAppConfiguration.putLock",
34+
"azure.appconfiguration.AzureAppConfigurationClient.delete_lock": "AzureAppConfiguration.deleteLock",
35+
"azure.appconfiguration.AzureAppConfigurationClient.get_revisions": "AzureAppConfiguration.getRevisions",
36+
"azure.appconfiguration.AzureAppConfigurationClient.check_revisions": "AzureAppConfiguration.checkRevisions"
37+
}
38+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__path__ = __import__("pkgutil").extend_path(__path__, __name__)
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 21 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,32 @@
11
# coding=utf-8
22
# --------------------------------------------------------------------------
33
# Copyright (c) Microsoft Corporation. All rights reserved.
4-
# Licensed under the MIT License. See License.txt in the project root for
5-
# license information.
6-
#
7-
# Code generated by Microsoft (R) AutoRest Code Generator.
8-
# Changes may cause incorrect behavior and will be lost if the code is
9-
# regenerated.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) Python Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
107
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
119

12-
from ._azure_appconfiguration_client import AzureAppConfigurationClient
13-
from ._constants import FILTER_PERCENTAGE, FILTER_TARGETING, FILTER_TIME_WINDOW
14-
from ._models import (
15-
ConfigurationSetting,
16-
FeatureFlagConfigurationSetting,
17-
SecretReferenceConfigurationSetting,
18-
ConfigurationSettingsFilter,
19-
ConfigurationSnapshot,
20-
ConfigurationSettingLabel,
21-
)
22-
from ._generated.models import (
23-
SnapshotStatus,
24-
LabelFields,
25-
SnapshotFields,
26-
ConfigurationSettingFields,
27-
SnapshotComposition,
28-
)
10+
from typing import TYPE_CHECKING
11+
12+
if TYPE_CHECKING:
13+
from ._patch import * # pylint: disable=unused-wildcard-import
14+
15+
from ._client import AzureAppConfigurationClient # type: ignore
2916
from ._version import VERSION
30-
from ._azure_appconfiguration_error import ResourceReadOnlyError
3117

3218
__version__ = VERSION
19+
20+
try:
21+
from ._patch import __all__ as _patch_all
22+
from ._patch import *
23+
except ImportError:
24+
_patch_all = []
25+
from ._patch import patch_sdk as _patch_sdk
26+
3327
__all__ = [
3428
"AzureAppConfigurationClient",
35-
"ConfigurationSetting",
36-
"ResourceReadOnlyError",
37-
"FeatureFlagConfigurationSetting",
38-
"SecretReferenceConfigurationSetting",
39-
"ConfigurationSnapshot",
40-
"SnapshotStatus",
41-
"SnapshotFields",
42-
"SnapshotComposition",
43-
"LabelFields",
44-
"ConfigurationSettingFields",
45-
"ConfigurationSettingsFilter",
46-
"ConfigurationSettingLabel",
47-
"FILTER_PERCENTAGE",
48-
"FILTER_TARGETING",
49-
"FILTER_TIME_WINDOW",
5029
]
30+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
31+
32+
_patch_sdk()

0 commit comments

Comments
 (0)