-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regenerate for autorest.python (2025-01-24 08:58:00)
- Loading branch information
AutoPrFromHttpClientPython
authored and
AutoPrFromHttpClientPython
committed
Jan 24, 2025
1 parent
fe24279
commit 6b3d31d
Showing
9 changed files
with
117 additions
and
1 deletion.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
...les/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/models/__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,38 @@ | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wrong-import-position | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from ._patch import * # pylint: disable=unused-wildcard-import | ||
|
||
|
||
from ._models_py3 import ( # type: ignore | ||
Error, | ||
Product, | ||
) | ||
|
||
from ._auto_rest_swagger_bat_array_service_enums import ( # type: ignore | ||
Enum0, | ||
Enum1, | ||
FooEnum, | ||
) | ||
from ._patch import __all__ as _patch_all | ||
from ._patch import * | ||
from ._patch import patch_sdk as _patch_sdk | ||
|
||
__all__ = [ | ||
"Error", | ||
"Product", | ||
"Enum0", | ||
"Enum1", | ||
"FooEnum", | ||
] | ||
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore | ||
_patch_sdk() |
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
...mples/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/models/_patch.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,20 @@ | ||
# ------------------------------------ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
"""Customize generated code here. | ||
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize | ||
""" | ||
from typing import List | ||
|
||
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level | ||
|
||
|
||
def patch_sdk(): | ||
"""Do not remove from this file. | ||
`patch_sdk` is a last resort escape hatch that allows you to do customizations | ||
you can't accomplish using the techniques described in | ||
https://aka.ms/azsdk/python/dpcodegen/python/customize | ||
""" |
38 changes: 38 additions & 0 deletions
38
...samples/specification/azure-test/test/azure-test/azure/test/_generated/models/__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,38 @@ | ||
# 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. | ||
# -------------------------------------------------------------------------- | ||
# pylint: disable=wrong-import-position | ||
|
||
from typing import TYPE_CHECKING | ||
|
||
if TYPE_CHECKING: | ||
from ._patch import * # pylint: disable=unused-wildcard-import | ||
|
||
|
||
from ._models import ( # type: ignore | ||
Error, | ||
Product, | ||
) | ||
|
||
from ._enums import ( # type: ignore | ||
Enum0, | ||
Enum1, | ||
FooEnum, | ||
) | ||
from ._patch import __all__ as _patch_all | ||
from ._patch import * | ||
from ._patch import patch_sdk as _patch_sdk | ||
|
||
__all__ = [ | ||
"Error", | ||
"Product", | ||
"Enum0", | ||
"Enum1", | ||
"FooEnum", | ||
] | ||
__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore | ||
_patch_sdk() |
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions
20
...n/samples/specification/azure-test/test/azure-test/azure/test/_generated/models/_patch.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,20 @@ | ||
# ------------------------------------ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
# ------------------------------------ | ||
"""Customize generated code here. | ||
Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize | ||
""" | ||
from typing import List | ||
|
||
__all__: List[str] = [] # Add all objects you want publicly available to users at this package level | ||
|
||
|
||
def patch_sdk(): | ||
"""Do not remove from this file. | ||
`patch_sdk` is a last resort escape hatch that allows you to do customizations | ||
you can't accomplish using the techniques described in | ||
https://aka.ms/azsdk/python/dpcodegen/python/customize | ||
""" |
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