Skip to content

Commit b8626ba

Browse files
authored
Bump http-client-python 0.6.8 (#3029)
* Update dependencies (2025-01-23 06:19:17) * Regenerate for typespec-python (2025-01-23 06:23:29) * Regenerate for autorest.python (2025-01-23 06:37:21) * Update dependencies (2025-01-23 09:07:09) * Regenerate for autorest.python (2025-01-23 09:25:12) * add test case for arm * add test case for data-plan SDK generation * fix test case * fix cspell * add changelog * Update dependencies (2025-01-24 03:12:49) * Regenerate for typespec-python (2025-01-24 03:16:58) * bump http-client-python 0.6.8 * update version --------- Co-authored-by: AutoPrFromHttpClientPython <AutoPrFromHttpClientPython>
1 parent bec4358 commit b8626ba

290 files changed

Lines changed: 14173 additions & 135 deletions

File tree

Some content is hidden

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

.chronus/changes/addCspell-2025-0-15-13-47-59.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.chronus/changes/auto-iscai-msft-python-selfInsteadOfModelType-2025-0-22-15-35-35.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.chronus/changes/auto-iscai-msft-python-selfInsteadOfModelType-2025-0-22-15-35-51.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

.chronus/changes/auto-iscai-msft-python-sphinxRaisesDoc-2025-0-21-15-26-8.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

packages/autorest.python/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# Release
22

3+
## 6.28.2
4+
5+
### Bug Fixes
6+
7+
- [#3011](https://github.com/Azure/autorest.python/pull/3011) Fix spelling mistakes by running cspell in pipelines
8+
- [#3029](https://github.com/Azure/autorest.python/pull/3029) Fix for scenario that output folder is different with namespace
9+
- [#3029](https://github.com/Azure/autorest.python/pull/3029) Improve XML serialization information in generated models
10+
- [#3025](https://github.com/Azure/autorest.python/pull/3025) Fix sphinx typing for raising documentation
11+
- [#3025](https://github.com/Azure/autorest.python/pull/3025) fix typing for class methods in _serialization.py
12+
- [#3015](https://github.com/Azure/autorest.python/pull/3015) Order keyword-only args overload first in generated operations
13+
14+
315
## 6.28.1
416

517
### Bug Fixes

packages/autorest.python/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@autorest/python",
3-
"version": "6.28.1",
3+
"version": "6.28.2",
44
"description": "The Python extension for generators in AutoRest.",
55
"scripts": {
66
"start": "node ./scripts/run-python3.js ./scripts/start.py",
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/Azure/autorest.python/blob/main/README.md",
3131
"dependencies": {
32-
"@typespec/http-client-python": "~0.6.7",
32+
"@typespec/http-client-python": "~0.6.8",
3333
"@autorest/system-requirements": "~1.0.2",
3434
"fs-extra": "~11.2.0",
3535
"tsx": "~4.19.1"
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# Sample Management Generation
2+
3+
This file is to check whether standard [readme.python.md](https://github.com/Azure/azure-rest-api-specs/blob/main/documentation/samplefiles/readme.python.md) template could work.
4+
5+
### Settings
6+
7+
``` yaml $(python)
8+
input-file: ../../../node_modules/@microsoft.azure/autorest.testserver/swagger/head.json
9+
azure-arm: true
10+
license-header: MICROSOFT_MIT_NO_VERSION
11+
package-name: azure-mgmt-test
12+
namespace: azure.mgmt.test
13+
package-version: 1.0.0b1
14+
clear-output-folder: true
15+
```
16+
17+
``` yaml $(python)
18+
no-namespace-folders: true
19+
output-folder: $(python-sdks-folder)/test/azure-mgmt-test/azure/mgmt/test
20+
```
21+
22+
``` yaml $(python)
23+
modelerfour:
24+
flatten-models: false
25+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# coding=utf-8
2+
# --------------------------------------------------------------------------
3+
# Copyright (c) Microsoft Corporation. All rights reserved.
4+
# Licensed under the MIT License. See License.txt in the project root for license information.
5+
# Code generated by Microsoft (R) AutoRest Code Generator.
6+
# Changes may cause incorrect behavior and will be lost if the code is regenerated.
7+
# --------------------------------------------------------------------------
8+
# pylint: disable=wrong-import-position
9+
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 AutoRestHeadTestService # type: ignore
16+
from ._version import VERSION
17+
18+
__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+
27+
__all__ = [
28+
"AutoRestHeadTestService",
29+
]
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)