From 3179ab846373df5e51ab117b6340fc71e314be84 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 3 Feb 2026 17:50:55 +0000 Subject: [PATCH 1/4] Update dependencies --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index afb7631926..20df177738 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 5632db81be..2cb092bd6d 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -67,7 +67,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { From 4df1eb8856080ce329ef64db62f9fe69826dccb4 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 3 Feb 2026 17:50:56 +0000 Subject: [PATCH 2/4] Add changelog --- .../remove-deepcopy-import-serializer-2026-2-2-6-18-14.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .chronus/changes/remove-deepcopy-import-serializer-2026-2-2-6-18-14.md diff --git a/.chronus/changes/remove-deepcopy-import-serializer-2026-2-2-6-18-14.md b/.chronus/changes/remove-deepcopy-import-serializer-2026-2-2-6-18-14.md new file mode 100644 index 0000000000..04f2d64543 --- /dev/null +++ b/.chronus/changes/remove-deepcopy-import-serializer-2026-2-2-6-18-14.md @@ -0,0 +1,8 @@ +--- +changeKind: internal +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Remove costly `deepcopy` operation from import_serializer.py for performance optimization. From b4b602fa2f1d7b1167c8ef69957cb17bc4d57d0f Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 3 Feb 2026 17:51:59 +0000 Subject: [PATCH 3/4] Update dependencies (2026-02-03 17:51:58) --- pnpm-lock.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c8e913681b..865e4b8e9c 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4) 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1740,8 +1740,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.8.0 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz} version: 0.26.2 engines: {node: '>=20.0.0'} peerDependencies: @@ -6644,7 +6644,7 @@ snapshots: dependencies: '@typespec/compiler': 1.8.0(@types/node@24.1.0) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyNTIxNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTgyOTgyOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.26.2.tgz(pyd672ib3v6bthqtwhqpae7pk4)': dependencies: '@azure-tools/typespec-autorest': 0.64.1(jzo7kuo6fjo5kkcajadlzhggh4) '@azure-tools/typespec-azure-core': 0.64.0(@typespec/compiler@1.8.0(@types/node@24.1.0))(@typespec/http@1.8.0(@typespec/compiler@1.8.0(@types/node@24.1.0))(@typespec/streams@0.78.0(@typespec/compiler@1.8.0(@types/node@24.1.0))))(@typespec/rest@0.78.0(@typespec/compiler@1.8.0(@types/node@24.1.0))(@typespec/http@1.8.0(@typespec/compiler@1.8.0(@types/node@24.1.0))(@typespec/streams@0.78.0(@typespec/compiler@1.8.0(@types/node@24.1.0))))) From e855af89b01c1f22f33b153d0290e10c6157b927 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 3 Feb 2026 17:57:15 +0000 Subject: [PATCH 4/4] Regenerate for typespec-python (2026-02-03 17:57:15) --- ...y_building_animal_operations_operations.py | 21 +++++++++++++++---- ...ding_animal_operations_operations_async.py | 21 +++++++++++++++---- ...rchy_building_dog_operations_operations.py | 11 ++++++++-- ...uilding_dog_operations_operations_async.py | 11 ++++++++-- ...rchy_building_pet_operations_operations.py | 21 +++++++++++++++---- ...uilding_pet_operations_operations_async.py | 21 +++++++++++++++---- 6 files changed, 86 insertions(+), 20 deletions(-) diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations.py index 3973c10935..afe806db43 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations.py @@ -17,9 +17,15 @@ class TestHierarchyBuildingAnimalOperationsOperations(HierarchyBuildingClientTes def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint): client = self.create_client(endpoint=hierarchybuilding_endpoint) response = client.animal_operations.update_pet_as_animal( - animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + animal={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... @@ -28,8 +34,15 @@ def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint def test_animal_operations_update_dog_as_animal(self, hierarchybuilding_endpoint): client = self.create_client(endpoint=hierarchybuilding_endpoint) response = client.animal_operations.update_dog_as_animal( - animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + animal={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... + diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations_async.py index 60b9abadba..f57125c5e9 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_animal_operations_operations_async.py @@ -18,9 +18,15 @@ class TestHierarchyBuildingAnimalOperationsOperationsAsync(HierarchyBuildingClie async def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_endpoint): client = self.create_async_client(endpoint=hierarchybuilding_endpoint) response = await client.animal_operations.update_pet_as_animal( - animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + animal={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... @@ -29,8 +35,15 @@ async def test_animal_operations_update_pet_as_animal(self, hierarchybuilding_en async def test_animal_operations_update_dog_as_animal(self, hierarchybuilding_endpoint): client = self.create_async_client(endpoint=hierarchybuilding_endpoint) response = await client.animal_operations.update_dog_as_animal( - animal={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + animal={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... + diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations.py index 1f2764b090..4f978c6b44 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations.py @@ -17,8 +17,15 @@ class TestHierarchyBuildingDogOperationsOperations(HierarchyBuildingClientTestBa def test_dog_operations_update_dog_as_dog(self, hierarchybuilding_endpoint): client = self.create_client(endpoint=hierarchybuilding_endpoint) response = client.dog_operations.update_dog_as_dog( - dog={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + dog={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... + diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations_async.py index 27df21be8a..fff7a22366 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_dog_operations_operations_async.py @@ -18,8 +18,15 @@ class TestHierarchyBuildingDogOperationsOperationsAsync(HierarchyBuildingClientT async def test_dog_operations_update_dog_as_dog(self, hierarchybuilding_endpoint): client = self.create_async_client(endpoint=hierarchybuilding_endpoint) response = await client.dog_operations.update_dog_as_dog( - dog={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + dog={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... + diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations.py index 8898bd8532..dd1262e247 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations.py @@ -17,9 +17,15 @@ class TestHierarchyBuildingPetOperationsOperations(HierarchyBuildingClientTestBa def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint): client = self.create_client(endpoint=hierarchybuilding_endpoint) response = client.pet_operations.update_pet_as_pet( - pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + pet={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... @@ -28,8 +34,15 @@ def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint): def test_pet_operations_update_dog_as_pet(self, hierarchybuilding_endpoint): client = self.create_client(endpoint=hierarchybuilding_endpoint) response = client.pet_operations.update_dog_as_pet( - pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + pet={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... + diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations_async.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations_async.py index aa342d9377..59d00ce9ed 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations_async.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/generated_tests/test_hierarchy_building_pet_operations_operations_async.py @@ -18,9 +18,15 @@ class TestHierarchyBuildingPetOperationsOperationsAsync(HierarchyBuildingClientT async def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint): client = self.create_async_client(endpoint=hierarchybuilding_endpoint) response = await client.pet_operations.update_pet_as_pet( - pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + pet={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... @@ -29,8 +35,15 @@ async def test_pet_operations_update_pet_as_pet(self, hierarchybuilding_endpoint async def test_pet_operations_update_dog_as_pet(self, hierarchybuilding_endpoint): client = self.create_async_client(endpoint=hierarchybuilding_endpoint) response = await client.pet_operations.update_dog_as_pet( - pet={"breed": "str", "kind": "dog", "name": "str", "trained": bool}, + pet={ + "breed": "str", + "kind": "dog", + "name": "str", + "trained": bool + } +, ) - + # please add some check logic here by yourself # ... +