Skip to content

Commit 216e7ad

Browse files
author
SDKAuto
committed
CodeGen from PR 29859 in Azure/azure-rest-api-specs
Merge c5536657fc3a055cadd9988f2edb9e4766c3015a into cfe318beba82c1e5bda6a600f91de32cba814364
1 parent 6a687e3 commit 216e7ad

File tree

95 files changed

+6213
-5955
lines changed

Some content is hidden

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

95 files changed

+6213
-5955
lines changed
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
recursive-include tests *.py
21
include *.md
32
include LICENSE
4-
include azure/__init__.py
5-
recursive-include samples *.py *.md
6-
recursive-include doc *.rst
73
include azure/appconfiguration/py.typed
4+
recursive-include tests *.py
5+
recursive-include samples *.py *.md
6+
include azure/__init__.py
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"commit": "3fe8232316e66eb96984a23fec3db81d51817631",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/appconfiguration/AppConfiguration",
5+
"@azure-tools/typespec-python": "0.36.0"
6+
}
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: 15 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,26 @@
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
# --------------------------------------------------------------------------
118

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-
)
9+
from ._client import AzureAppConfigurationClient
2910
from ._version import VERSION
30-
from ._azure_appconfiguration_error import ResourceReadOnlyError
3111

3212
__version__ = VERSION
13+
14+
try:
15+
from ._patch import __all__ as _patch_all
16+
from ._patch import * # pylint: disable=unused-wildcard-import
17+
except ImportError:
18+
_patch_all = []
19+
from ._patch import patch_sdk as _patch_sdk
20+
3321
__all__ = [
3422
"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",
5023
]
24+
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore
25+
26+
_patch_sdk()

0 commit comments

Comments
 (0)