Skip to content

Commit 59329ae

Browse files
author
SDKAuto
committed
CodeGen from PR 31387 in Azure/azure-rest-api-specs
Merge 02bb3966d5d68dd08e4bd2fff041348052c31500 into 4a34315010d7416991838424bcbbfe0d4f8cea8a
1 parent a910ff3 commit 59329ae

File tree

91 files changed

+5993
-5939
lines changed

Some content is hidden

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

91 files changed

+5993
-5939
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": "26af8eff710ea634da1b33fed369967d1c39b689",
3+
"repository_url": "https://github.com/Azure/azure-rest-api-specs",
4+
"typespec_src": "specification/appconfiguration/AppConfiguration",
5+
"@azure-tools/typespec-python": "0.36.1"
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: 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)