forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 7
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 30768 in Azure/azure-rest-api-specs
Merge f857628ff2d7bfaaefb117ed52ddcd5f082fdad0 into 139840784c38414085b3d799cee5545f9b6e8dec
- Loading branch information
SDKAuto
committed
Sep 27, 2024
1 parent
2bfcd9f
commit 0c74e12
Showing
89 changed files
with
5,952 additions
and
5,911 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
recursive-include tests *.py | ||
include *.md | ||
include LICENSE | ||
include azure/__init__.py | ||
recursive-include samples *.py *.md | ||
recursive-include doc *.rst | ||
include azure/appconfiguration/py.typed | ||
recursive-include tests *.py | ||
recursive-include samples *.py *.md | ||
include azure/__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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"commit": "65171caa921a67914855465095f912fb17445d7e", | ||
"repository_url": "https://github.com/Azure/azure-rest-api-specs", | ||
"typespec_src": "specification/appconfiguration/AppConfiguration", | ||
"@azure-tools/typespec-python": "0.33.0" | ||
} |
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 |
54 changes: 15 additions & 39 deletions
54
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,26 @@ | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
|
||
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 ._client import AzureAppConfigurationClient | ||
from ._version import VERSION | ||
from ._azure_appconfiguration_error import ResourceReadOnlyError | ||
|
||
__version__ = VERSION | ||
|
||
try: | ||
from ._patch import __all__ as _patch_all | ||
from ._patch import * # pylint: disable=unused-wildcard-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__]) | ||
|
||
_patch_sdk() |
Oops, something went wrong.