From 9fbebb9748e3d2cb79775868a3b0d2178b2d485a Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 11 May 2026 09:49:09 +0000 Subject: [PATCH 1/5] Update dependencies --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index b7f259c887..d573522e2b 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -29,7 +29,7 @@ }, "homepage": "https://github.com/Azure/autorest.python/blob/main/README.md", "dependencies": { - "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "^4.21.0" diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 3f352348a4..2d7389c844 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -65,7 +65,7 @@ "@typespec/xml": ">=0.81.0 <1.0.0" }, "dependencies": { - "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz", "fs-extra": "~11.2.0", "js-yaml": "~4.1.0", "semver": "~7.6.2", @@ -106,4 +106,4 @@ "typescript-eslint": "^8.49.0", "vitest": "^4.0.15" } -} +} \ No newline at end of file From e956d18bb3c9b9559ed68fb671c2ef80709b9741 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 11 May 2026 09:49:12 +0000 Subject: [PATCH 2/5] Sync shared files from typespec repo (2026-05-11 09:49:12) --- ...nerator_core_client_default_value_async.py | 19 +++++++++---------- ...ent_generator_core_client_default_value.py | 17 ++++++++--------- ...t_generation_subdir2_for_generated_code.py | 2 +- ...st_generation_subdir_for_generated_code.py | 2 +- .../tests/mock_api/shared/test_patch.py | 2 +- .../shared/unittests/test_parse_pyproject.py | 2 +- 6 files changed, 21 insertions(+), 23 deletions(-) diff --git a/packages/typespec-python/tests/mock_api/azure/asynctests/test_azure_client_generator_core_client_default_value_async.py b/packages/typespec-python/tests/mock_api/azure/asynctests/test_azure_client_generator_core_client_default_value_async.py index 99060e4f09..f4bbaaae04 100644 --- a/packages/typespec-python/tests/mock_api/azure/asynctests/test_azure_client_generator_core_client_default_value_async.py +++ b/packages/typespec-python/tests/mock_api/azure/asynctests/test_azure_client_generator_core_client_default_value_async.py @@ -15,16 +15,15 @@ async def client(): yield client -# will reopen after bug fixed -# @pytest.mark.asyncio -# async def test_put_model_property(client: ClientDefaultValueClient): -# """Test case 1: @clientDefaultValue for model property.""" -# body = ModelWithDefaultValues(name="test") -# result = await client.put_model_property(body=body) -# assert result.name == "test" -# assert result.timeout == 30 -# assert result.tier == "standard" -# assert result.retry is True +@pytest.mark.asyncio +async def test_put_model_property(client: ClientDefaultValueClient): + """Test case 1: @clientDefaultValue for model property.""" + body = ModelWithDefaultValues(name="test") + result = await client.put_model_property(body=body) + assert result.name == "test" + assert result.timeout == 30 + assert result.tier == "standard" + assert result.retry is True @pytest.mark.asyncio diff --git a/packages/typespec-python/tests/mock_api/azure/test_azure_client_generator_core_client_default_value.py b/packages/typespec-python/tests/mock_api/azure/test_azure_client_generator_core_client_default_value.py index 8b05d5eb9c..730c6a74b3 100644 --- a/packages/typespec-python/tests/mock_api/azure/test_azure_client_generator_core_client_default_value.py +++ b/packages/typespec-python/tests/mock_api/azure/test_azure_client_generator_core_client_default_value.py @@ -14,15 +14,14 @@ def client(): yield client -# will reopen after bug fixed -# def test_put_model_property(client: ClientDefaultValueClient): -# """Test case 1: @clientDefaultValue for model property.""" -# body = ModelWithDefaultValues(name="test") -# result = client.put_model_property(body=body) -# assert result.name == "test" -# assert result.timeout == 30 -# assert result.tier == "standard" -# assert result.retry is True +def test_put_model_property(client: ClientDefaultValueClient): + """Test case 1: @clientDefaultValue for model property.""" + body = ModelWithDefaultValues(name="test") + result = client.put_model_property(body=body) + assert result.name == "test" + assert result.timeout == 30 + assert result.tier == "standard" + assert result.retry is True def test_get_operation_parameter(client: ClientDefaultValueClient): diff --git a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py index 345defd17b..32bbfc784d 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py +++ b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py @@ -30,4 +30,4 @@ def test_v2(client: AddedClient): def test_interface_v2(client: AddedClient): assert client.interface_v2.v2_in_interface( ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") - ) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") + ) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") \ No newline at end of file diff --git a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py index 661fbaecf2..3750a98f1a 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py +++ b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py @@ -14,4 +14,4 @@ def test_custom_method(): "level": 0, "extension": [{"level": 1, "extension": [{"level": 2}]}, {"level": 1}], } - ) + ) \ No newline at end of file diff --git a/packages/typespec-python/tests/mock_api/shared/test_patch.py b/packages/typespec-python/tests/mock_api/shared/test_patch.py index fc92290a71..8410e4046b 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_patch.py +++ b/packages/typespec-python/tests/mock_api/shared/test_patch.py @@ -9,4 +9,4 @@ def test_patch_mixin_operation_group_in_operations_folder(key_credential): from authentication.apikey import ApiKeyClient, aio assert hasattr(ApiKeyClient(key_credential), "patch_added_operation") - assert hasattr(aio.ApiKeyClient(key_credential), "patch_added_operation") + assert hasattr(aio.ApiKeyClient(key_credential), "patch_added_operation") \ No newline at end of file diff --git a/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py b/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py index 78ee2b4c57..8ebf108f29 100644 --- a/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py +++ b/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py @@ -92,4 +92,4 @@ def test_azure_sdk_build(): ), f"[tool.azure-sdk-build] section does not contain 'pyright' setting in {package_path}" assert ( azure_sdk_build["pyright"] is False - ), f"Expected pyright = false, but got pyright = {azure_sdk_build['pyright']} in {package_path}" + ), f"Expected pyright = false, but got pyright = {azure_sdk_build['pyright']} in {package_path}" \ No newline at end of file From d70625f57075c406295df48a723d19f412f8644a Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 11 May 2026 09:49:13 +0000 Subject: [PATCH 3/5] Add changelog --- .../changes/fix-python-numeric-float-2026-4-29-23-55-0.md | 8 ++++++++ ...pipeline-for-complete-test-cases-2026-3-30-10-57-36.md | 8 ++++++++ 2 files changed, 16 insertions(+) create mode 100644 .chronus/changes/fix-python-numeric-float-2026-4-29-23-55-0.md create mode 100644 .chronus/changes/optimize-pipeline-for-complete-test-cases-2026-3-30-10-57-36.md diff --git a/.chronus/changes/fix-python-numeric-float-2026-4-29-23-55-0.md b/.chronus/changes/fix-python-numeric-float-2026-4-29-23-55-0.md new file mode 100644 index 0000000000..571283b106 --- /dev/null +++ b/.chronus/changes/fix-python-numeric-float-2026-4-29-23-55-0.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Fix TypeSpec `numeric` scalar type being emitted as `int` in Python; it is now emitted as `float`. diff --git a/.chronus/changes/optimize-pipeline-for-complete-test-cases-2026-3-30-10-57-36.md b/.chronus/changes/optimize-pipeline-for-complete-test-cases-2026-3-30-10-57-36.md new file mode 100644 index 0000000000..a919188e1a --- /dev/null +++ b/.chronus/changes/optimize-pipeline-for-complete-test-cases-2026-3-30-10-57-36.md @@ -0,0 +1,8 @@ +--- +changeKind: internal +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +add baseline of generated code before regenerate to contain necessary customized code for some specific test cases From e868958910dd88792c58df441d04f592cdd0f8f6 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 11 May 2026 09:50:20 +0000 Subject: [PATCH 4/5] Update dependencies (2026-05-11 09:50:20) --- packages/typespec-python/package.json | 2 +- .../test_generation_subdir2_for_generated_code.py | 2 +- .../test_generation_subdir_for_generated_code.py | 2 +- .../tests/mock_api/shared/test_patch.py | 2 +- .../shared/unittests/test_parse_pyproject.py | 2 +- pnpm-lock.yaml | 14 +++++++------- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 2d7389c844..e60e522fc1 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -106,4 +106,4 @@ "typescript-eslint": "^8.49.0", "vitest": "^4.0.15" } -} \ No newline at end of file +} diff --git a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py index 32bbfc784d..345defd17b 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py +++ b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir2_for_generated_code.py @@ -30,4 +30,4 @@ def test_v2(client: AddedClient): def test_interface_v2(client: AddedClient): assert client.interface_v2.v2_in_interface( ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") - ) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") \ No newline at end of file + ) == ModelV2(prop="foo", enum_prop=EnumV2.ENUM_MEMBER, union_prop="bar") diff --git a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py index 3750a98f1a..661fbaecf2 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py +++ b/packages/typespec-python/tests/mock_api/shared/test_generation_subdir_for_generated_code.py @@ -14,4 +14,4 @@ def test_custom_method(): "level": 0, "extension": [{"level": 1, "extension": [{"level": 2}]}, {"level": 1}], } - ) \ No newline at end of file + ) diff --git a/packages/typespec-python/tests/mock_api/shared/test_patch.py b/packages/typespec-python/tests/mock_api/shared/test_patch.py index 8410e4046b..fc92290a71 100644 --- a/packages/typespec-python/tests/mock_api/shared/test_patch.py +++ b/packages/typespec-python/tests/mock_api/shared/test_patch.py @@ -9,4 +9,4 @@ def test_patch_mixin_operation_group_in_operations_folder(key_credential): from authentication.apikey import ApiKeyClient, aio assert hasattr(ApiKeyClient(key_credential), "patch_added_operation") - assert hasattr(aio.ApiKeyClient(key_credential), "patch_added_operation") \ No newline at end of file + assert hasattr(aio.ApiKeyClient(key_credential), "patch_added_operation") diff --git a/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py b/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py index 8ebf108f29..78ee2b4c57 100644 --- a/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py +++ b/packages/typespec-python/tests/mock_api/shared/unittests/test_parse_pyproject.py @@ -92,4 +92,4 @@ def test_azure_sdk_build(): ), f"[tool.azure-sdk-build] section does not contain 'pyright' setting in {package_path}" assert ( azure_sdk_build["pyright"] is False - ), f"Expected pyright = false, but got pyright = {azure_sdk_build['pyright']} in {package_path}" \ No newline at end of file + ), f"Expected pyright = false, but got pyright = {azure_sdk_build['pyright']} in {package_path}" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c5012562de..93c977aeb3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -82,8 +82,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1723,8 +1723,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.11.0 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz} version: 0.28.3 engines: {node: '>=20.0.0'} peerDependencies: @@ -6708,7 +6708,7 @@ snapshots: dependencies: '@typespec/compiler': 1.11.0(@types/node@25.0.10) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI0NjE0NC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNjI3ODUxMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.28.3.tgz(y2blksstlsblh3iqmgy3brbone)': dependencies: '@azure-tools/typespec-autorest': 0.67.0(7o3sem7p6i3t4jykacdovvl7ii) '@azure-tools/typespec-azure-core': 0.67.0(@typespec/compiler@1.11.0(@types/node@25.0.10))(@typespec/http@1.11.0(@typespec/compiler@1.11.0(@types/node@25.0.10))(@typespec/streams@0.81.0(@typespec/compiler@1.11.0(@types/node@25.0.10))))(@typespec/rest@0.81.0(@typespec/compiler@1.11.0(@types/node@25.0.10))(@typespec/http@1.11.0(@typespec/compiler@1.11.0(@types/node@25.0.10))(@typespec/streams@0.81.0(@typespec/compiler@1.11.0(@types/node@25.0.10))))) From 265410ab6533c1c106bd58031014863df0edf3ec Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Mon, 11 May 2026 09:56:35 +0000 Subject: [PATCH 5/5] Regenerate for typespec-python (2026-05-11 09:56:35) --- .../clientgenerator/core/alternatetype/models/_models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/typespec-python/tests/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py b/packages/typespec-python/tests/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py index 0961163d5a..fc48041f81 100644 --- a/packages/typespec-python/tests/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py +++ b/packages/typespec-python/tests/generated/azure/azure-client-generator-core-alternate-type/specs/azure/clientgenerator/core/alternatetype/models/_models.py @@ -20,12 +20,12 @@ class Geometry(_Model): :ivar type: Required. :vartype type: str :ivar coordinates: Required. - :vartype coordinates: list[int] + :vartype coordinates: list[float] """ type: str = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Required.""" - coordinates: list[int] = rest_field(visibility=["read", "create", "update", "delete", "query"]) + coordinates: list[float] = rest_field(visibility=["read", "create", "update", "delete", "query"]) """Required.""" @overload @@ -33,7 +33,7 @@ def __init__( self, *, type: str, - coordinates: list[int], + coordinates: list[float], ) -> None: ... @overload