From 16d10287e38c10175215a06530eab6b68bd320cd Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Wed, 6 Aug 2025 03:13:13 +0000 Subject: [PATCH 01/10] Update dependencies --- packages/autorest.python/package.json | 4 ++-- packages/typespec-python/package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 0dedec00684..bf16a3721bb 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" @@ -47,4 +47,4 @@ "requirements.txt", "generator/" ] -} +} \ No newline at end of file diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index a8dc693ebbf..1d6c7fdc9cb 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { @@ -103,4 +103,4 @@ "chalk": "5.3.0", "@types/fs-extra": "11.0.4" } -} +} \ No newline at end of file From 36d0e01ad97de098724ff167ecab23d9804d3eaa Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Wed, 6 Aug 2025 03:14:14 +0000 Subject: [PATCH 02/10] Update dependencies (2025-08-06 03:14:14) --- pnpm-lock.yaml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cff07d2980f..6fbcea62128 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz(iurth4uuk4s6znzuuc7ncenk2q) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz(iurth4uuk4s6znzuuc7ncenk2q) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1668,9 +1668,9 @@ packages: peerDependencies: '@typespec/compiler': ^1.2.1 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz} - version: 0.14.2 + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz} + version: 0.15.0 engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.58.0 <1.0.0' @@ -6422,7 +6422,7 @@ snapshots: dependencies: '@typespec/compiler': 1.2.1(@types/node@22.13.17) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4MDYwNC9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.14.2.tgz(iurth4uuk4s6znzuuc7ncenk2q)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q)': dependencies: '@azure-tools/typespec-autorest': 0.58.0(vddu6w2yloigenmssnpyjivoim) '@azure-tools/typespec-azure-core': 0.58.0(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/http@1.2.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/streams@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))))(@typespec/rest@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/http@1.2.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/streams@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))))) From b5c4e20c25c453848936fa360c906ed28ccc5c72 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Wed, 6 Aug 2025 03:19:05 +0000 Subject: [PATCH 03/10] Regenerate for typespec-python (2025-08-06 03:19:05) --- .../azure/generated/authentication-api-key-subdir/pyproject.toml | 1 + .../test/azure/generated/authentication-api-key/pyproject.toml | 1 + .../azure/generated/authentication-http-custom/pyproject.toml | 1 + .../test/azure/generated/authentication-oauth2/pyproject.toml | 1 + .../test/azure/generated/authentication-union/pyproject.toml | 1 + .../generated/azure-client-generator-core-access/pyproject.toml | 1 + .../pyproject.toml | 1 + .../azure-client-generator-core-client-location/pyproject.toml | 1 + .../pyproject.toml | 1 + .../azure-client-generator-core-flatten-property/pyproject.toml | 1 + .../azure-client-generator-core-override/pyproject.toml | 1 + .../generated/azure-client-generator-core-usage/pyproject.toml | 1 + .../test/azure/generated/azure-core-basic/pyproject.toml | 1 + .../test/azure/generated/azure-core-lro-rpc/pyproject.toml | 1 + .../test/azure/generated/azure-core-lro-standard/pyproject.toml | 1 + .../test/azure/generated/azure-core-model/pyproject.toml | 1 + .../test/azure/generated/azure-core-page/pyproject.toml | 1 + .../test/azure/generated/azure-core-scalar/pyproject.toml | 1 + .../test/azure/generated/azure-core-traits/pyproject.toml | 1 + .../test/azure/generated/azure-encode-duration/pyproject.toml | 1 + .../test/azure/generated/azure-example-basic/pyproject.toml | 1 + .../test/azure/generated/azure-payload-pageable/pyproject.toml | 1 + .../azure-resource-manager-common-properties/pyproject.toml | 1 + .../generated/azure-resource-manager-large-header/pyproject.toml | 1 + .../generated/azure-resource-manager-non-resource/pyproject.toml | 1 + .../azure-resource-manager-operation-templates/pyproject.toml | 1 + .../generated/azure-resource-manager-resources/pyproject.toml | 1 + .../azure-special-headers-client-request-id/pyproject.toml | 1 + .../test/azure/generated/client-namespace/pyproject.toml | 1 + .../test/azure/generated/client-naming/pyproject.toml | 1 + .../test/azure/generated/client-structure-default/pyproject.toml | 1 + .../azure/generated/client-structure-multiclient/pyproject.toml | 1 + .../generated/client-structure-renamedoperation/pyproject.toml | 1 + .../generated/client-structure-twooperationgroup/pyproject.toml | 1 + .../test/azure/generated/encode-bytes/pyproject.toml | 1 + .../test/azure/generated/encode-datetime/pyproject.toml | 1 + .../test/azure/generated/encode-duration/pyproject.toml | 1 + .../test/azure/generated/encode-numeric/pyproject.toml | 1 + .../test/azure/generated/headasbooleanfalse/pyproject.toml | 1 + .../test/azure/generated/headasbooleantrue/pyproject.toml | 1 + .../test/azure/generated/parameters-basic/pyproject.toml | 1 + .../azure/generated/parameters-body-optionality/pyproject.toml | 1 + .../azure/generated/parameters-collection-format/pyproject.toml | 1 + .../test/azure/generated/parameters-path/pyproject.toml | 1 + .../test/azure/generated/parameters-spread/pyproject.toml | 1 + .../azure/generated/payload-content-negotiation/pyproject.toml | 1 + .../test/azure/generated/payload-json-merge-patch/pyproject.toml | 1 + .../test/azure/generated/payload-media-type/pyproject.toml | 1 + .../test/azure/generated/payload-multipart/pyproject.toml | 1 + .../test/azure/generated/payload-pageable/pyproject.toml | 1 + .../test/azure/generated/payload-xml/pyproject.toml | 1 + .../test/azure/generated/resiliency-srv-driven1/pyproject.toml | 1 + .../test/azure/generated/resiliency-srv-driven2/pyproject.toml | 1 + .../azure/generated/response-status-code-range/pyproject.toml | 1 + .../typespec-python/test/azure/generated/routes/pyproject.toml | 1 + .../generated/serialization-encoded-name-json/pyproject.toml | 1 + .../azure/generated/server-endpoint-not-defined/pyproject.toml | 1 + .../test/azure/generated/server-path-multiple/pyproject.toml | 1 + .../test/azure/generated/server-path-single/pyproject.toml | 1 + .../azure/generated/server-versions-not-versioned/pyproject.toml | 1 + .../azure/generated/server-versions-versioned/pyproject.toml | 1 + .../generated/special-headers-conditional-request/pyproject.toml | 1 + .../azure/generated/special-headers-repeatability/pyproject.toml | 1 + .../test/azure/generated/special-words/pyproject.toml | 1 + .../test/azure/generated/streaming-jsonl/pyproject.toml | 1 + .../test/azure/generated/typetest-array/pyproject.toml | 1 + .../test/azure/generated/typetest-dictionary/pyproject.toml | 1 + .../test/azure/generated/typetest-enum-extensible/pyproject.toml | 1 + .../test/azure/generated/typetest-enum-fixed/pyproject.toml | 1 + .../test/azure/generated/typetest-model-empty/pyproject.toml | 1 + .../generated/typetest-model-enumdiscriminator/pyproject.toml | 1 + .../generated/typetest-model-nesteddiscriminator/pyproject.toml | 1 + .../generated/typetest-model-notdiscriminated/pyproject.toml | 1 + .../test/azure/generated/typetest-model-recursive/pyproject.toml | 1 + .../generated/typetest-model-singlediscriminator/pyproject.toml | 1 + .../test/azure/generated/typetest-model-usage/pyproject.toml | 1 + .../azure/generated/typetest-model-visibility/pyproject.toml | 1 + .../typetest-property-additionalproperties/pyproject.toml | 1 + .../azure/generated/typetest-property-nullable/pyproject.toml | 1 + .../azure/generated/typetest-property-optional/pyproject.toml | 1 + .../azure/generated/typetest-property-valuetypes/pyproject.toml | 1 + .../test/azure/generated/typetest-scalar/pyproject.toml | 1 + .../test/azure/generated/typetest-union/pyproject.toml | 1 + .../test/azure/generated/versioning-added/pyproject.toml | 1 + .../test/azure/generated/versioning-madeoptional/pyproject.toml | 1 + .../test/azure/generated/versioning-removed/pyproject.toml | 1 + .../test/azure/generated/versioning-renamedfrom/pyproject.toml | 1 + .../generated/versioning-returntypechangedfrom/pyproject.toml | 1 + .../azure/generated/versioning-typechangedfrom/pyproject.toml | 1 + .../generated/authentication-api-key-subdir/pyproject.toml | 1 + .../unbranded/generated/authentication-api-key/pyproject.toml | 1 + .../generated/authentication-http-custom/pyproject.toml | 1 + .../unbranded/generated/authentication-oauth2/pyproject.toml | 1 + .../test/unbranded/generated/authentication-union/pyproject.toml | 1 + .../test/unbranded/generated/encode-bytes/pyproject.toml | 1 + .../test/unbranded/generated/encode-datetime/pyproject.toml | 1 + .../test/unbranded/generated/encode-duration/pyproject.toml | 1 + .../test/unbranded/generated/encode-numeric/pyproject.toml | 1 + .../test/unbranded/generated/headasbooleanfalse/pyproject.toml | 1 + .../test/unbranded/generated/headasbooleantrue/pyproject.toml | 1 + .../test/unbranded/generated/parameters-basic/pyproject.toml | 1 + .../generated/parameters-body-optionality/pyproject.toml | 1 + .../generated/parameters-collection-format/pyproject.toml | 1 + .../test/unbranded/generated/parameters-path/pyproject.toml | 1 + .../test/unbranded/generated/parameters-spread/pyproject.toml | 1 + .../generated/payload-content-negotiation/pyproject.toml | 1 + .../unbranded/generated/payload-json-merge-patch/pyproject.toml | 1 + .../test/unbranded/generated/payload-media-type/pyproject.toml | 1 + .../test/unbranded/generated/payload-multipart/pyproject.toml | 1 + .../test/unbranded/generated/payload-pageable/pyproject.toml | 1 + .../test/unbranded/generated/payload-xml/pyproject.toml | 1 + .../generated/response-status-code-range/pyproject.toml | 1 + .../test/unbranded/generated/routes/pyproject.toml | 1 + .../generated/serialization-encoded-name-json/pyproject.toml | 1 + .../generated/server-endpoint-not-defined/pyproject.toml | 1 + .../test/unbranded/generated/server-path-multiple/pyproject.toml | 1 + .../test/unbranded/generated/server-path-single/pyproject.toml | 1 + .../generated/server-versions-not-versioned/pyproject.toml | 1 + .../unbranded/generated/server-versions-versioned/pyproject.toml | 1 + .../generated/special-headers-conditional-request/pyproject.toml | 1 + .../generated/special-headers-repeatability/pyproject.toml | 1 + .../test/unbranded/generated/special-words/pyproject.toml | 1 + .../test/unbranded/generated/streaming-jsonl/pyproject.toml | 1 + .../test/unbranded/generated/typetest-array/pyproject.toml | 1 + .../test/unbranded/generated/typetest-dictionary/pyproject.toml | 1 + .../unbranded/generated/typetest-enum-extensible/pyproject.toml | 1 + .../test/unbranded/generated/typetest-enum-fixed/pyproject.toml | 1 + .../test/unbranded/generated/typetest-model-empty/pyproject.toml | 1 + .../generated/typetest-model-enumdiscriminator/pyproject.toml | 1 + .../generated/typetest-model-nesteddiscriminator/pyproject.toml | 1 + .../generated/typetest-model-notdiscriminated/pyproject.toml | 1 + .../unbranded/generated/typetest-model-recursive/pyproject.toml | 1 + .../generated/typetest-model-singlediscriminator/pyproject.toml | 1 + .../test/unbranded/generated/typetest-model-usage/pyproject.toml | 1 + .../unbranded/generated/typetest-model-visibility/pyproject.toml | 1 + .../typetest-property-additionalproperties/pyproject.toml | 1 + .../generated/typetest-property-nullable/pyproject.toml | 1 + .../generated/typetest-property-optional/pyproject.toml | 1 + .../generated/typetest-property-valuetypes/pyproject.toml | 1 + .../test/unbranded/generated/typetest-scalar/pyproject.toml | 1 + .../test/unbranded/generated/typetest-union/pyproject.toml | 1 + .../test/unbranded/generated/versioning-added/pyproject.toml | 1 + .../unbranded/generated/versioning-madeoptional/pyproject.toml | 1 + .../test/unbranded/generated/versioning-removed/pyproject.toml | 1 + .../unbranded/generated/versioning-renamedfrom/pyproject.toml | 1 + .../generated/versioning-returntypechangedfrom/pyproject.toml | 1 + .../generated/versioning-typechangedfrom/pyproject.toml | 1 + 147 files changed, 147 insertions(+) diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml index 82fbf2781b0..438a5d21128 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", "authentication.api", "authentication.api.key", diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml index 4ac48b5af28..6d7f6e5a37b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml index 734538ef598..e34869d0657 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", "authentication.http", ] diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml index 258f942068a..846b69fd259 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml index 5c8de737f76..ae0f49a55da 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml index b0affd00ca9..bcc11e95d84 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml index 756d5cc049e..36f83c38bd2 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml index b9a360d8439..e621f6f07ea 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml index 7fcf596e367..5fffaa3a52f 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml index 3e1d7e1ff6a..a0a76a59ef8 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml index 9cf6a6fba54..200347a1823 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml index 4fb3b637201..ffeb94917fa 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.clientgenerator", diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml index 030ec4ef6a7..faa8fb14672 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml index e6b9ab3291d..cdfa0540ae8 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml index 40cd2dbae7e..448cbead01e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml index f944c6dd83d..5d7d4679ce1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml index 488f66fda8b..44092f727fb 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml index 5d49e3d85b2..00d7af68a6f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml index 0103442bf9b..150f40901f3 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.core", diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml index 0bcc9ec131e..27b0f1bf993 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.encode", diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml index b46a2d01643..d529bd55481 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.example", diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml index 971d104fa10..bcf02d674d4 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specs", "specs.azure", "specs.azure.payload", diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml index e8efb311339..c9b5c01c44f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.resourcemanager", ] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml index a2654eaa2e2..a584213b80a 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.resourcemanager", ] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml index 4c333e1a18a..bfd76263d45 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.resourcemanager", ] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml index fe86db5a6ec..87b56953b3c 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.resourcemanager", ] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml index 20ffb554b92..866fd0f0fe1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.resourcemanager", ] diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml index cce1989ebc0..e340903586d 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.specialheaders", ] diff --git a/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml b/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml index 5a2e1ef6ee1..91494856250 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", ] diff --git a/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml b/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml index 0082571e108..7328cad89bf 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", ] diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml index 4fcc2de895a..f712a9c6666 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", "client.structure", ] diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml index 56d6616c068..09e90fce022 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", "client.structure", ] diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml index 2469c45459c..d2e3f269fb2 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", "client.structure", ] diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml index e8e3963f505..ac4c843cdf9 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "client", "client.structure", ] diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml index c7fa74cce92..a99234008ef 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml index 73ce782558f..d730cd765be 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml index 6b2a46023c1..4dffd1399bf 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml index fc5c8b1e08c..2e0ef5aac15 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml b/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml index 2e42cb2480a..2f676042480 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml b/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml index 9710e0e4a98..53de9b54696 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml index e5398071929..648844d10e6 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml index 8f534019e96..8937baf06ca 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml index a749707b4d9..b343f8bd3d8 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml index 853a2bc868d..72fa97fe404 100644 --- a/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml index 66674338ccc..b2c03534a26 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml index 06e7a72d2f9..38aeb651c4f 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml index ec820604507..78fed2d3d61 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml index be7d63ac6d5..c4cac93a31b 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml index 516f7b559bc..4decf1e436d 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml index f40dc75155f..fd930651766 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml index 48b2b148c64..c111fb7767f 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml index 7b86ca7c3b2..69a0d8afdc3 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "resiliency", "resiliency.srv", ] diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml index 070b2bf7d01..94b276fb93c 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "resiliency", "resiliency.srv", ] diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml b/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml index 2183f5659bf..2bfce53eb8c 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "response", ] diff --git a/packages/typespec-python/test/azure/generated/routes/pyproject.toml b/packages/typespec-python/test/azure/generated/routes/pyproject.toml index 2bf8b4f766e..b3d27fb0e33 100644 --- a/packages/typespec-python/test/azure/generated/routes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/routes/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml index 9ef770e5ea5..2a7463c2824 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "serialization", "serialization.encodedname", ] diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml index 1877dc386cb..e9817b707f1 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.endpoint", ] diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml b/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml index b8719b91032..f635d9ae3ef 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.path", ] diff --git a/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml b/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml index f48d72213ac..400e5564e48 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.path", ] diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml index bd46123c28e..47784474371 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.versions", ] diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml b/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml index b18e5d97e6d..a57afcc1eb3 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.versions", ] diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml index fc5ff872550..66ffb0ed36f 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specialheaders", ] diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml b/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml index 3076fadc544..addfbd7770b 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specialheaders", ] diff --git a/packages/typespec-python/test/azure/generated/special-words/pyproject.toml b/packages/typespec-python/test/azure/generated/special-words/pyproject.toml index d7cce92430d..efe1384d036 100644 --- a/packages/typespec-python/test/azure/generated/special-words/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-words/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml b/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml index 173a889ce8f..fddfe35bba3 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "streaming", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml index 01cba7d34a2..d40fb9a4e5f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml index 4fc5954c6c8..64a6cf37eb4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml index 10b911c4f1a..bd1011e8824 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.enum", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml index b09f9e4aa65..b0b51349779 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.enum", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml index 983221257b6..91d6097f881 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml index 9f796c7bdf7..f3fe4a3d3ca 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml index 46e529fd8d6..a7c9b7e163a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml index 50b12c5f8b3..27628253943 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml index 5f54f0688d4..93439104bef 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml index 3bc86bc1b60..080709e8d3a 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml index bd853ab5b34..a6db1f58afb 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml index 2f72113b091..210f2f7ad8f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml index d1ab63f4331..238f1300d60 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml index c19850b1954..69259f17921 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml index b3aaad8d9a9..ba8ae09cda6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml index 23cb89199d7..a9cf5d2250e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml index 877dfe055b4..0470c80d507 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml index 6591dfce217..9b78572311c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml index 57673df755c..8026bc95eba 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml index b54012b3bdb..b18413230d3 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml index 8de8a69175f..5f308b37b42 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml index 9383bfc97d8..697e6251678 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml index 8b1e3b6fb7e..38c57d8bc9b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml index 4a558260bc2..a88477aca2e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml index 4c75610cdcd..bad220a7818 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", "authentication.api", "authentication.api.key", diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml index 8c201d80703..cca7cbee39d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml index ae6574e5ddd..270019a8723 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", "authentication.http", ] diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml index 88c8611d2af..9439825e261 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml index 358f5d9d099..60fc8889335 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "authentication", ] diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml index 0a1a2125f23..6cc72e8fa63 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml index c144d3a0423..03fa299a641 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml index 2de71007216..b6477bd973b 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml index eaa0d92eaed..60a95ea0836 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "encode", ] diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml index f43c151eb62..46225ce25b2 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml index 17f7d93bacd..3ab11ed9df5 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml index 4682022a630..7319226c613 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml index fcc9e5724c0..ef853a27412 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml index ebfd8241a2d..6a26fe4f17f 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml index d5eabfaa14a..3da86557239 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml index e344062a478..8d87a599037 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "parameters", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml index 8e0499c922c..4a738d43117 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml index f47aad416f6..08ffd6cdafc 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml index 4f0cc2bd652..9804da9d47c 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml index d0936872f08..5c9b39da924 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml index 77fde8e4304..661221d372f 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml index b992fdda2ec..3d9e3e636ac 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "payload", ] diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml b/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml index ceaf88b5c47..8048a7de06c 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "response", ] diff --git a/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml index b1c7162019c..2cbad4e85a1 100644 --- a/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml index 8d735634fa8..a8b734b3913 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "serialization", "serialization.encodedname", ] diff --git a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml index 5d99ef10248..e4b3dea3138 100644 --- a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.endpoint", ] diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml index 3d0d27a1230..a0325fd7832 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.path", ] diff --git a/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml index 80f3b9546bf..de267e0cf90 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.path", ] diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml index 2f04ce6964b..3a87a4bf13b 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.versions", ] diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml index 0a4cf05e236..3bc01520935 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "server", "server.versions", ] diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml index 8d881f88f90..d3c8c8a8068 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specialheaders", ] diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml index 61154059ae8..02b5f020bf5 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "specialheaders", ] diff --git a/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml index d79a5420d67..36aa7a66c66 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml index 4d38a74932d..33572ed2ef6 100644 --- a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "streaming", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml index e4f8583e0c8..55118d1fac1 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml index f8c6a7cfe83..5d03a59d3f0 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml index 663690d1c5d..38c7fec9259 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.enum", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml index 555e2c006d0..28b22aae28f 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.enum", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml index 009c348d171..5d947448698 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml index f5b0cdf6d4b..98850b42cd5 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml index 3a3d7474799..07351db8291 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml index daebd32a944..61f0e68e4fa 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml index f1067a364e0..932f37bee72 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml index 97eb66df750..aaa1e5f5ae3 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml index 6f7e415dfa7..6c976737185 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml index 9a694166b5b..2a0771b24aa 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.model", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml index dc8cc82dc40..d7dd85514f3 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml index b7dea050a56..4f5224363dc 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml index 62d8786f7bb..ae64fb01f5d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml index deb7d5f08a2..f859e8ae7c4 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", "typetest.property", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml index 2188fc5cc56..54aacbcd29c 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml index 2512a156e4c..e6af1b1d3b4 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "typetest", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml index f1d1191a154..f78ab763aac 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml index 619581fa9d9..accb94b8433 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml index 6cbc3039bfa..0732512b94c 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml index 292c45580ad..cd2ea259238 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml index a32b6823640..b23c164bfc0 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml index 9da095c3f10..9e1d2799a86 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml @@ -41,6 +41,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "versioning", ] From 1c10d268e666d060875928585ff9f507e013b64a Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Wed, 6 Aug 2025 03:35:48 +0000 Subject: [PATCH 04/10] Regenerate for autorest.python (2025-08-06 03:35:48) --- .../Expected/AcceptanceTests/PackageModeBatch/pyproject.toml | 1 + .../Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml | 1 + .../Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml | 1 + .../Expected/AcceptanceTests/InternalOperation/pyproject.toml | 1 + .../Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml | 1 + 5 files changed, 5 insertions(+) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml index 6ee8eaad563..681de16dfa2 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.packagemode", ] diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml index e23a169b11c..425d28ff699 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.packagemode", ] diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml index 83c8570230b..72f0f33bc5a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", "azure", "azure.package", ] diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml index d0b66750f1a..340e7f1d642 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml index ac1deaa65a1..63dac86f234 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml @@ -51,6 +51,7 @@ readme = {file = ["README.md"], content-type = "text/markdown"} exclude = [ "tests*", "samples*", + "doc*", ] [tool.setuptools.package-data] From bf5626a7e80c0d8a476f524a12449e02ad2a52ae Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Wed, 6 Aug 2025 20:06:19 +0000 Subject: [PATCH 05/10] 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 ea4c61a3de5..e910ea7c8ba 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.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 684268cd14c..16164eec0f2 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { From 85e86d295098b6a7716bfed11b578de36fff9cd4 Mon Sep 17 00:00:00 2001 From: swathipil Date: Wed, 6 Aug 2025 13:10:10 -0700 Subject: [PATCH 06/10] chronus --- ...-python-exclude-doc-from-pyproject-2025-7-6-13-9-37.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .chronus/changes/auto-swathipil-tsp-python-exclude-doc-from-pyproject-2025-7-6-13-9-37.md diff --git a/.chronus/changes/auto-swathipil-tsp-python-exclude-doc-from-pyproject-2025-7-6-13-9-37.md b/.chronus/changes/auto-swathipil-tsp-python-exclude-doc-from-pyproject-2025-7-6-13-9-37.md new file mode 100644 index 00000000000..9056b8ded9c --- /dev/null +++ b/.chronus/changes/auto-swathipil-tsp-python-exclude-doc-from-pyproject-2025-7-6-13-9-37.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Update pyproject.toml to exclude doc/ and for pep 639 \ No newline at end of file From 82def4d7fcd34e507a33675a7ec5b19b064f0d80 Mon Sep 17 00:00:00 2001 From: swathipil Date: Wed, 6 Aug 2025 13:11:27 -0700 Subject: [PATCH 07/10] pnpm --- pnpm-lock.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 6fbcea62128..c6c09afc058 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1668,8 +1668,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.2.1 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz} version: 0.15.0 engines: {node: '>=20.0.0'} peerDependencies: @@ -6422,7 +6422,7 @@ snapshots: dependencies: '@typespec/compiler': 1.2.1(@types/node@22.13.17) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4NDExOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTE4ODIwOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.15.0.tgz(iurth4uuk4s6znzuuc7ncenk2q)': dependencies: '@azure-tools/typespec-autorest': 0.58.0(vddu6w2yloigenmssnpyjivoim) '@azure-tools/typespec-azure-core': 0.58.0(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/http@1.2.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/streams@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))))(@typespec/rest@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/http@1.2.1(@typespec/compiler@1.2.1(@types/node@22.13.17))(@typespec/streams@0.72.1(@typespec/compiler@1.2.1(@types/node@22.13.17))))) From fdadaa2435d3883a3cf2faaadc17c1d410eb6145 Mon Sep 17 00:00:00 2001 From: swathipil Date: Wed, 6 Aug 2025 14:06:36 -0700 Subject: [PATCH 08/10] update pyproject.toml tsp-python tests --- .../generated/authentication-api-key-subdir/pyproject.toml | 5 ++--- .../azure/generated/authentication-api-key/pyproject.toml | 5 ++--- .../generated/authentication-http-custom/pyproject.toml | 5 ++--- .../azure/generated/authentication-oauth2/pyproject.toml | 5 ++--- .../test/azure/generated/authentication-union/pyproject.toml | 5 ++--- .../azure-client-generator-core-access/pyproject.toml | 5 ++--- .../pyproject.toml | 5 ++--- .../pyproject.toml | 5 ++--- .../pyproject.toml | 5 ++--- .../pyproject.toml | 5 ++--- .../azure-client-generator-core-override/pyproject.toml | 5 ++--- .../azure-client-generator-core-usage/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-basic/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-lro-rpc/pyproject.toml | 5 ++--- .../azure/generated/azure-core-lro-standard/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-model/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-page/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-scalar/pyproject.toml | 5 ++--- .../test/azure/generated/azure-core-traits/pyproject.toml | 5 ++--- .../azure/generated/azure-encode-duration/pyproject.toml | 5 ++--- .../test/azure/generated/azure-example-basic/pyproject.toml | 5 ++--- .../azure/generated/azure-payload-pageable/pyproject.toml | 5 ++--- .../azure-resource-manager-common-properties/pyproject.toml | 5 ++--- .../azure-resource-manager-large-header/pyproject.toml | 5 ++--- .../azure-resource-manager-non-resource/pyproject.toml | 5 ++--- .../pyproject.toml | 5 ++--- .../azure-resource-manager-resources/pyproject.toml | 5 ++--- .../azure-special-headers-client-request-id/pyproject.toml | 5 ++--- .../test/azure/generated/client-namespace/pyproject.toml | 5 ++--- .../test/azure/generated/client-naming/pyproject.toml | 5 ++--- .../azure/generated/client-structure-default/pyproject.toml | 5 ++--- .../generated/client-structure-multiclient/pyproject.toml | 5 ++--- .../client-structure-renamedoperation/pyproject.toml | 5 ++--- .../client-structure-twooperationgroup/pyproject.toml | 5 ++--- .../test/azure/generated/encode-bytes/pyproject.toml | 5 ++--- .../test/azure/generated/encode-datetime/pyproject.toml | 5 ++--- .../test/azure/generated/encode-duration/pyproject.toml | 5 ++--- .../test/azure/generated/encode-numeric/pyproject.toml | 5 ++--- .../test/azure/generated/headasbooleanfalse/pyproject.toml | 5 ++--- .../test/azure/generated/headasbooleantrue/pyproject.toml | 5 ++--- .../test/azure/generated/parameters-basic/pyproject.toml | 5 ++--- .../generated/parameters-body-optionality/pyproject.toml | 5 ++--- .../generated/parameters-collection-format/pyproject.toml | 5 ++--- .../test/azure/generated/parameters-path/pyproject.toml | 5 ++--- .../test/azure/generated/parameters-spread/pyproject.toml | 5 ++--- .../generated/payload-content-negotiation/pyproject.toml | 5 ++--- .../azure/generated/payload-json-merge-patch/pyproject.toml | 5 ++--- .../test/azure/generated/payload-media-type/pyproject.toml | 5 ++--- .../test/azure/generated/payload-multipart/pyproject.toml | 5 ++--- .../test/azure/generated/payload-pageable/pyproject.toml | 5 ++--- .../test/azure/generated/payload-xml/pyproject.toml | 5 ++--- .../azure/generated/resiliency-srv-driven1/pyproject.toml | 5 ++--- .../azure/generated/resiliency-srv-driven2/pyproject.toml | 5 ++--- .../generated/response-status-code-range/pyproject.toml | 5 ++--- .../test/azure/generated/routes/pyproject.toml | 5 ++--- .../generated/serialization-encoded-name-json/pyproject.toml | 5 ++--- .../generated/server-endpoint-not-defined/pyproject.toml | 5 ++--- .../test/azure/generated/server-path-multiple/pyproject.toml | 5 ++--- .../test/azure/generated/server-path-single/pyproject.toml | 5 ++--- .../generated/server-versions-not-versioned/pyproject.toml | 5 ++--- .../azure/generated/server-versions-versioned/pyproject.toml | 5 ++--- .../special-headers-conditional-request/pyproject.toml | 5 ++--- .../generated/special-headers-repeatability/pyproject.toml | 5 ++--- .../test/azure/generated/special-words/pyproject.toml | 5 ++--- .../test/azure/generated/streaming-jsonl/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-array/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-dictionary/pyproject.toml | 5 ++--- .../azure/generated/typetest-enum-extensible/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-enum-fixed/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-model-empty/pyproject.toml | 5 ++--- .../typetest-model-enumdiscriminator/pyproject.toml | 5 ++--- .../typetest-model-nesteddiscriminator/pyproject.toml | 5 ++--- .../generated/typetest-model-notdiscriminated/pyproject.toml | 5 ++--- .../azure/generated/typetest-model-recursive/pyproject.toml | 5 ++--- .../typetest-model-singlediscriminator/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-model-usage/pyproject.toml | 5 ++--- .../azure/generated/typetest-model-visibility/pyproject.toml | 5 ++--- .../typetest-property-additionalproperties/pyproject.toml | 5 ++--- .../generated/typetest-property-nullable/pyproject.toml | 5 ++--- .../generated/typetest-property-optional/pyproject.toml | 5 ++--- .../generated/typetest-property-valuetypes/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-scalar/pyproject.toml | 5 ++--- .../test/azure/generated/typetest-union/pyproject.toml | 5 ++--- .../test/azure/generated/versioning-added/pyproject.toml | 5 ++--- .../azure/generated/versioning-madeoptional/pyproject.toml | 5 ++--- .../test/azure/generated/versioning-removed/pyproject.toml | 5 ++--- .../azure/generated/versioning-renamedfrom/pyproject.toml | 5 ++--- .../versioning-returntypechangedfrom/pyproject.toml | 5 ++--- .../generated/versioning-typechangedfrom/pyproject.toml | 5 ++--- .../generated/authentication-api-key-subdir/pyproject.toml | 5 ++--- .../generated/authentication-api-key/pyproject.toml | 5 ++--- .../generated/authentication-http-custom/pyproject.toml | 5 ++--- .../unbranded/generated/authentication-oauth2/pyproject.toml | 5 ++--- .../unbranded/generated/authentication-union/pyproject.toml | 5 ++--- .../test/unbranded/generated/encode-bytes/pyproject.toml | 5 ++--- .../test/unbranded/generated/encode-datetime/pyproject.toml | 5 ++--- .../test/unbranded/generated/encode-duration/pyproject.toml | 5 ++--- .../test/unbranded/generated/encode-numeric/pyproject.toml | 5 ++--- .../unbranded/generated/headasbooleanfalse/pyproject.toml | 5 ++--- .../unbranded/generated/headasbooleantrue/pyproject.toml | 5 ++--- .../test/unbranded/generated/parameters-basic/pyproject.toml | 5 ++--- .../generated/parameters-body-optionality/pyproject.toml | 5 ++--- .../generated/parameters-collection-format/pyproject.toml | 5 ++--- .../test/unbranded/generated/parameters-path/pyproject.toml | 5 ++--- .../unbranded/generated/parameters-spread/pyproject.toml | 5 ++--- .../generated/payload-content-negotiation/pyproject.toml | 5 ++--- .../generated/payload-json-merge-patch/pyproject.toml | 5 ++--- .../unbranded/generated/payload-media-type/pyproject.toml | 5 ++--- .../unbranded/generated/payload-multipart/pyproject.toml | 5 ++--- .../test/unbranded/generated/payload-pageable/pyproject.toml | 5 ++--- .../test/unbranded/generated/payload-xml/pyproject.toml | 5 ++--- .../generated/response-status-code-range/pyproject.toml | 5 ++--- .../test/unbranded/generated/routes/pyproject.toml | 5 ++--- .../generated/serialization-encoded-name-json/pyproject.toml | 5 ++--- .../generated/server-endpoint-not-defined/pyproject.toml | 5 ++--- .../unbranded/generated/server-path-multiple/pyproject.toml | 5 ++--- .../unbranded/generated/server-path-single/pyproject.toml | 5 ++--- .../generated/server-versions-not-versioned/pyproject.toml | 5 ++--- .../generated/server-versions-versioned/pyproject.toml | 5 ++--- .../special-headers-conditional-request/pyproject.toml | 5 ++--- .../generated/special-headers-repeatability/pyproject.toml | 5 ++--- .../test/unbranded/generated/special-words/pyproject.toml | 5 ++--- .../test/unbranded/generated/streaming-jsonl/pyproject.toml | 5 ++--- .../test/unbranded/generated/typetest-array/pyproject.toml | 5 ++--- .../unbranded/generated/typetest-dictionary/pyproject.toml | 5 ++--- .../generated/typetest-enum-extensible/pyproject.toml | 5 ++--- .../unbranded/generated/typetest-enum-fixed/pyproject.toml | 5 ++--- .../unbranded/generated/typetest-model-empty/pyproject.toml | 5 ++--- .../typetest-model-enumdiscriminator/pyproject.toml | 5 ++--- .../typetest-model-nesteddiscriminator/pyproject.toml | 5 ++--- .../generated/typetest-model-notdiscriminated/pyproject.toml | 5 ++--- .../generated/typetest-model-recursive/pyproject.toml | 5 ++--- .../typetest-model-singlediscriminator/pyproject.toml | 5 ++--- .../unbranded/generated/typetest-model-usage/pyproject.toml | 5 ++--- .../generated/typetest-model-visibility/pyproject.toml | 5 ++--- .../typetest-property-additionalproperties/pyproject.toml | 5 ++--- .../generated/typetest-property-nullable/pyproject.toml | 5 ++--- .../generated/typetest-property-optional/pyproject.toml | 5 ++--- .../generated/typetest-property-valuetypes/pyproject.toml | 5 ++--- .../test/unbranded/generated/typetest-scalar/pyproject.toml | 5 ++--- .../test/unbranded/generated/typetest-union/pyproject.toml | 5 ++--- .../test/unbranded/generated/versioning-added/pyproject.toml | 5 ++--- .../generated/versioning-madeoptional/pyproject.toml | 5 ++--- .../unbranded/generated/versioning-removed/pyproject.toml | 5 ++--- .../generated/versioning-renamedfrom/pyproject.toml | 5 ++--- .../versioning-returntypechangedfrom/pyproject.toml | 5 ++--- .../generated/versioning-typechangedfrom/pyproject.toml | 5 ++--- 147 files changed, 294 insertions(+), 441 deletions(-) diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml index 438a5d21128..d13e3961a87 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Authentication Api Key Subdir Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml index 6d7f6e5a37b..a3cacf4a741 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Authentication Apikey Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml index e34869d0657..4a835f70b09 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Authentication Http Custom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml index 846b69fd259..11869a90733 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Authentication Oauth2 Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml b/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml index ae0f49a55da..42535e68a68 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/authentication-union/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Authentication Union Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml index bcc11e95d84..88f83b43878 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Access Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml index 36f83c38bd2..c20c30ce81b 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Clientinitialization Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml index e621f6f07ea..a16fabf3c4e 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Clientlocation Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml index 5fffaa3a52f..f61389f7beb 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Emptystring Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml index a0a76a59ef8..e2eedf1caa0 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Flattenproperty Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml index 200347a1823..b96d77e34ec 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Override Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml index ffeb94917fa..4deb28db031 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Clientgenerator Core Usage Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml index faa8fb14672..531d7bc9362 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Basic Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml index cdfa0540ae8..53e187141cb 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Lro Rpc Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml index 448cbead01e..4994a3fe57c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Lro Standard Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml index 5d7d4679ce1..9f8523e3f9b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-model/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Model Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml index 44092f727fb..245952d3f5a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-page/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Page Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml index 00d7af68a6f..5cd8bb8653c 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Scalar Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml index 150f40901f3..2f96a74844e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Core Traits Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml index 27b0f1bf993..f917bb7d76a 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Encode Duration Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml index d529bd55481..fc5953b4459 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Example Basic Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml index bcf02d674d4..67347bd823d 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specs Azure Payload Pageable Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml index c9b5c01c44f..11a19123f33 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Resourcemanager Commonproperties Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml index a584213b80a..6999e5fdefa 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Resourcemanager Largeheader Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml index bfd76263d45..2ad8034a1d6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Resourcemanager Nonresource Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml index 87b56953b3c..14a309d3210 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Resourcemanager Operationtemplates Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml index 866fd0f0fe1..df422150f24 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Resourcemanager Resources Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml index e340903586d..450dd544cb3 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specialheaders Xmsclientrequestid Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml b/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml index 91494856250..eaab29f79c8 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-namespace/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Clientnamespace Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml b/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml index 7328cad89bf..b26f8a88e1f 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-naming/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Naming Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml index f712a9c6666..c1bb457fb11 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-default/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Structure Service Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml index 09e90fce022..65e6002fed7 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Structure Multiclient Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml index d2e3f269fb2..618a7cba4be 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Structure Renamedoperation Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml index ac4c843cdf9..aefeac58e69 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Client Structure Twooperationgroup Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml index a99234008ef..0a19c7f50b5 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-bytes/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Encode Bytes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml index d730cd765be..48badb503b9 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-datetime/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Encode Datetime Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml index 4dffd1399bf..b4a6e299a81 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-duration/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Encode Duration Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml b/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml index 2e0ef5aac15..d243a979b22 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/encode-numeric/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Encode Numeric Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml b/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml index 2f676042480..aa1816191d0 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Headasbooleanfalse Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml b/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml index 53de9b54696..50200a7f116 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Headasbooleantrue Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml index 648844d10e6..93a27814475 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-basic/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Parameters Basic Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml index 8937baf06ca..07309fb35cd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Parameters Bodyoptionality Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml index b343f8bd3d8..e6be5dc8192 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Parameters Collectionformat Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml index 72fa97fe404..df20e61e6cb 100644 --- a/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-path/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Parameters Path Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml b/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml index b2c03534a26..f03a137b831 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/parameters-spread/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Parameters Spread Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml index 38aeb651c4f..2479685a397 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Contentnegotiation Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml index 78fed2d3d61..016c7e3735a 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Jsonmergepatch Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml index c4cac93a31b..8c7043e2199 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-media-type/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Mediatype Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml index 4decf1e436d..484d6edbd00 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-multipart/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Multipart Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml index fd930651766..f83446daea4 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-pageable/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Pageable Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml b/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml index c111fb7767f..64c23808b16 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/payload-xml/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Payload Xml Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml index 69a0d8afdc3..201d1f2cc90 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure ResiliencySrvDriven1 Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml index 94b276fb93c..908a4d9716d 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure ResiliencySrvDriven2 Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml b/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml index 2bfce53eb8c..782db3c6228 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Response Statuscoderange Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/routes/pyproject.toml b/packages/typespec-python/test/azure/generated/routes/pyproject.toml index b3d27fb0e33..8686017ec23 100644 --- a/packages/typespec-python/test/azure/generated/routes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/routes/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Routes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml index 2a7463c2824..d7cf30a2472 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Serialization Encodedname Json Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml index e9817b707f1..04422010b5d 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Server Endpoint Notdefined Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml b/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml index f635d9ae3ef..25ec5b764c1 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Server Path Multiple Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml b/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml index 400e5564e48..909f3c6ad1a 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-path-single/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Server Path Single Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml index 47784474371..6fdfe6a8079 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Server Versions Notversioned Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml b/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml index a57afcc1eb3..bea773e70e9 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Server Versions Versioned Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml index 66ffb0ed36f..3127799452f 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specialheaders Conditionalrequest Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml b/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml index addfbd7770b..a6b661f2d22 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specialheaders Repeatability Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/special-words/pyproject.toml b/packages/typespec-python/test/azure/generated/special-words/pyproject.toml index efe1384d036..5be797d4976 100644 --- a/packages/typespec-python/test/azure/generated/special-words/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/special-words/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Specialwords Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml b/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml index fddfe35bba3..920262f2d00 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Streaming Jsonl Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml index d40fb9a4e5f..5b8d864f70d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-array/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Array Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml index 64a6cf37eb4..0647e9ab0e0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Dictionary Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml index bd1011e8824..e300a904615 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Enum Extensible Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml index b0b51349779..e1373f3576e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Enum Fixed Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml index 91d6097f881..5a9f7f3d775 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Empty Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml index f3fe4a3d3ca..a84b8988756 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Enumdiscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml index a7c9b7e163a..816cfcf9278 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Nesteddiscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml index 27628253943..51cf11dffac 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Notdiscriminated Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml index 93439104bef..602606e980c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Recursive Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml index 080709e8d3a..a4b3e874c1c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Singlediscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml index a6db1f58afb..04102e6110d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Usage Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml index 210f2f7ad8f..418c8a42972 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Model Visibility Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml index 238f1300d60..3da4fe9e939 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Property Additionalproperties Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml index 69259f17921..5423d08f468 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Property Nullable Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml index ba8ae09cda6..0c92018b145 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Property Optional Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml index a9cf5d2250e..3408b714841 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Property Valuetypes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml index 0470c80d507..43a519c5440 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Scalar Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml b/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml index 9b78572311c..47808459e48 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/typetest-union/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Typetest Union Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml index 8026bc95eba..0614ada0b47 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-added/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Added Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml index b18413230d3..556b78996fd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Madeoptional Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml index 5f308b37b42..27ab4394e29 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-removed/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Removed Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml index 697e6251678..941d4352af5 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Renamedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml index 38c57d8bc9b..ba08ea80ff0 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Returntypechangedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml index a88477aca2e..77fe1868d35 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Versioning Typechangedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml index bad220a7818..99b8aebd165 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Authentication Api Key Subdir Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml index cca7cbee39d..9d1a19912c9 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Authentication Apikey Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml index 270019a8723..cbc16bda386 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Authentication Http Custom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml index 9439825e261..fbf52b9dd32 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Authentication Oauth2 Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml b/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml index 60fc8889335..23b3737ccda 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/authentication-union/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Authentication Union Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml index 6cc72e8fa63..e7427787f5e 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Encode Bytes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml index 03fa299a641..303bea32b95 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Encode Datetime Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml index b6477bd973b..03aa2285a4b 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Encode Duration Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml b/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml index 60a95ea0836..7ec0fdb1e0d 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Encode Numeric Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml index 46225ce25b2..cbf079106a6 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Headasbooleanfalse Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml index 3ab11ed9df5..d2fa2a96e0f 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Headasbooleantrue Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml index 7319226c613..53773f384b5 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Parameters Basic Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml index ef853a27412..dfad29d3edf 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Parameters Bodyoptionality Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml index 6a26fe4f17f..25e8731ba75 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Parameters Collectionformat Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml index 3da86557239..8e1a2e6bc91 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-path/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Parameters Path Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml b/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml index 8d87a599037..94f298f00fa 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Parameters Spread Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml index 4a738d43117..78b17705824 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Contentnegotiation Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml index 08ffd6cdafc..ee986bac234 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Jsonmergepatch Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml index 9804da9d47c..06b12d8c2c8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-media-type/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Mediatype Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml index 5c9b39da924..53a9096a64f 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Multipart Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml index 661221d372f..8cad1628d26 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Pageable Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml b/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml index 3d9e3e636ac..e322970c669 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Payload Xml Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml b/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml index 8048a7de06c..736cc50dce7 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Response Statuscoderange Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml index 2cbad4e85a1..7e1e649e72b 100644 --- a/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/routes/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Routes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml index a8b734b3913..44904af2ef9 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Serialization Encodedname Json Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml index e4b3dea3138..603a22ec0ae 100644 --- a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Server Endpoint Notdefined Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml index a0325fd7832..91cea51677f 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Server Path Multiple Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml index de267e0cf90..f6429fa52e6 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-path-single/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Server Path Single Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml index 3a87a4bf13b..84144e568ed 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Server Versions Notversioned Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml index 3bc01520935..85c133ce407 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Server Versions Versioned Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml index d3c8c8a8068..60950931cfe 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Specialheaders Conditionalrequest Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml index 02b5f020bf5..9ad71a2fa63 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Specialheaders Repeatability Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml b/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml index 36aa7a66c66..5586882eff3 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/special-words/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Specialwords Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml index 33572ed2ef6..3a3e8bfdd0a 100644 --- a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Streaming Jsonl Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml index 55118d1fac1..6e81e945094 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Array Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml index 5d03a59d3f0..ecda89bd78e 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Dictionary Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml index 38c7fec9259..0b37796f564 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Enum Extensible Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml index 28b22aae28f..e189b50c414 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Enum Fixed Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml index 5d947448698..3b7d7889bf8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Empty Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml index 98850b42cd5..1ebc822e1a7 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Enumdiscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml index 07351db8291..7783ee8e0fb 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Nesteddiscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml index 61f0e68e4fa..a80a568047b 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Notdiscriminated Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml index 932f37bee72..e621e78ec94 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Recursive Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml index aaa1e5f5ae3..8f06a52ad6d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Singlediscriminator Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml index 6c976737185..bb80d7ebf24 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Usage Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml index 2a0771b24aa..e387f9ef107 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Model Visibility Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml index d7dd85514f3..8cd7b1802ac 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Property Additionalproperties Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml index 4f5224363dc..04555582a18 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Property Nullable Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml index ae64fb01f5d..5240ba45435 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Property Optional Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml index f859e8ae7c4..68851db66ac 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Property Valuetypes Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml index 54aacbcd29c..c613b0cccd3 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-scalar/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Scalar Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml b/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml index e6af1b1d3b4..3a01447a3b9 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/typetest-union/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Typetest Union Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml index f78ab763aac..bfa8eb3ee6d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Added Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml index accb94b8433..58f1db77e65 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Madeoptional Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml index 0732512b94c..fa3a4be36f9 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-removed/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Removed Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml index cd2ea259238..8c536efe487 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Renamedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml index b23c164bfc0..dd80908ed7b 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Returntypechangedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml index 9e1d2799a86..c22d3af1782 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml +++ b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/pyproject.toml @@ -1,6 +1,6 @@ [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -9,7 +9,7 @@ authors = [ { name = "" }, ] description = " Versioning Typechangedfrom Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -20,7 +20,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" From 7d8d6722dcc473d0e38d8c5eebeca1ee793b67f5 Mon Sep 17 00:00:00 2001 From: swathipil Date: Wed, 6 Aug 2025 14:51:17 -0700 Subject: [PATCH 09/10] update autorest.py pyproject tests --- .../Expected/AcceptanceTests/PackageModeBatch/pyproject.toml | 5 ++--- .../AcceptanceTests/PackageModeDataPlane/pyproject.toml | 5 ++--- .../AcceptanceTests/PackageModeMgmtPlane/pyproject.toml | 5 ++--- .../AcceptanceTests/InternalOperation/pyproject.toml | 5 ++--- .../AcceptanceTests/PackageModeDataPlane/pyproject.toml | 5 ++--- 5 files changed, 10 insertions(+), 15 deletions(-) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml index 681de16dfa2..809f91c5c2d 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Package Mode Batch Mgmt Plane Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml index 425d28ff699..ce1e890d9de 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Package Mode Data Plane Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml index 72f0f33bc5a..f4e100dd382 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Package Mode Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 5 - Production/Stable", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml index 340e7f1d642..9b2ec0a4be9 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Internal Operation Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml index 63dac86f234..3c701f1d21c 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/pyproject.toml @@ -6,7 +6,7 @@ # -------------------------------------------------------------------------- [build-system] -requires = ["setuptools>=61.0.0", "wheel"] # Requires 61.0.0 for dynamic version +requires = ["setuptools>=77.0.3", "wheel"] build-backend = "setuptools.build_meta" [project] @@ -15,7 +15,7 @@ authors = [ { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" }, ] description = "Microsoft Corporation Azure Package Mode Client Library for Python" -license = {text = "MIT License"} +license = "MIT" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python", @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.13", - "License :: OSI Approved :: MIT License", ] requires-python = ">=3.9" keywords = ["azure", "azure sdk"] From ea457340b18b7a7251c5e86f3f0287b583c4285a Mon Sep 17 00:00:00 2001 From: swathipil Date: Wed, 6 Aug 2025 16:17:50 -0700 Subject: [PATCH 10/10] update model_base.py --- .../_generated/_operations/_operations.py | 2 +- .../subdir/_generated/_utils/model_base.py | 9 ++-- .../_generated/aio/_operations/_operations.py | 2 +- .../apikey/_operations/_operations.py | 2 +- .../apikey/_utils/model_base.py | 9 ++-- .../apikey/aio/_operations/_operations.py | 2 +- .../http/custom/_operations/_operations.py | 2 +- .../http/custom/_utils/model_base.py | 9 ++-- .../custom/aio/_operations/_operations.py | 2 +- .../oauth2/_operations/_operations.py | 2 +- .../oauth2/_utils/model_base.py | 9 ++-- .../oauth2/aio/_operations/_operations.py | 2 +- .../authentication/union/_utils/model_base.py | 9 ++-- .../core/access/_utils/model_base.py | 9 ++-- .../clientinitialization/_utils/model_base.py | 9 ++-- .../core/clientlocation/_utils/model_base.py | 9 ++-- .../core/emptystring/_utils/model_base.py | 9 ++-- .../core/flattenproperty/_utils/model_base.py | 9 ++-- .../core/override/_utils/model_base.py | 9 ++-- .../core/usage/_utils/model_base.py | 9 ++-- .../azure/core/basic/_utils/model_base.py | 9 ++-- .../azure/core/lro/rpc/_utils/model_base.py | 9 ++-- .../core/lro/standard/_utils/model_base.py | 9 ++-- .../azure/core/model/_utils/model_base.py | 9 ++-- .../azure/core/page/_utils/model_base.py | 9 ++-- .../azure/core/scalar/_utils/model_base.py | 9 ++-- .../azure/core/traits/_utils/model_base.py | 9 ++-- .../encode/duration/_utils/model_base.py | 9 ++-- .../azure/example/basic/_utils/model_base.py | 9 ++-- .../payload/pageable/_utils/model_base.py | 9 ++-- .../commonproperties/_utils/model_base.py | 9 ++-- .../aio/operations/_operations.py | 10 ++-- .../operations/_operations.py | 10 ++-- .../largeheader/_utils/model_base.py | 9 ++-- .../largeheader/aio/operations/_operations.py | 2 +- .../largeheader/operations/_operations.py | 2 +- .../nonresource/_utils/model_base.py | 9 ++-- .../nonresource/aio/operations/_operations.py | 4 +- .../nonresource/operations/_operations.py | 4 +- .../operationtemplates/_utils/model_base.py | 9 ++-- .../aio/operations/_operations.py | 20 +++---- .../operations/_operations.py | 20 +++---- .../resources/_utils/model_base.py | 9 ++-- .../resources/aio/operations/_operations.py | 52 +++++++++---------- .../resources/operations/_operations.py | 52 +++++++++---------- .../xmsclientrequestid/_utils/model_base.py | 9 ++-- .../clientnamespace/_utils/model_base.py | 9 ++-- .../second/_utils/model_base.py | 9 ++-- .../client/naming/_utils/model_base.py | 9 ++-- .../structure/service/_utils/model_base.py | 9 ++-- .../multiclient/_utils/model_base.py | 9 ++-- .../renamedoperation/_utils/model_base.py | 9 ++-- .../twooperationgroup/_utils/model_base.py | 9 ++-- .../encode/bytes/_utils/model_base.py | 9 ++-- .../encode/datetime/_utils/model_base.py | 9 ++-- .../encode/duration/_utils/model_base.py | 9 ++-- .../encode/numeric/_utils/model_base.py | 9 ++-- .../headasbooleanfalse/_utils/model_base.py | 9 ++-- .../headasbooleantrue/_utils/model_base.py | 9 ++-- .../parameters/basic/_utils/model_base.py | 9 ++-- .../bodyoptionality/_utils/model_base.py | 9 ++-- .../collectionformat/_utils/model_base.py | 9 ++-- .../parameters/path/_utils/model_base.py | 9 ++-- .../parameters/spread/_utils/model_base.py | 9 ++-- .../contentnegotiation/_utils/model_base.py | 9 ++-- .../jsonmergepatch/_utils/model_base.py | 9 ++-- .../payload/mediatype/_utils/model_base.py | 9 ++-- .../payload/multipart/_utils/model_base.py | 9 ++-- .../payload/pageable/_utils/model_base.py | 9 ++-- .../payload/xml/_utils/model_base.py | 9 ++-- .../srv/driven1/_utils/model_base.py | 9 ++-- .../srv/driven2/_utils/model_base.py | 9 ++-- .../_operations/_operations.py | 8 +-- .../statuscoderange/_utils/model_base.py | 9 ++-- .../aio/_operations/_operations.py | 8 +-- .../routes/routes/_utils/model_base.py | 9 ++-- .../encodedname/json/_utils/model_base.py | 9 ++-- .../endpoint/notdefined/_utils/model_base.py | 9 ++-- .../server/path/multiple/_utils/model_base.py | 9 ++-- .../server/path/single/_utils/model_base.py | 9 ++-- .../notversioned/_utils/model_base.py | 9 ++-- .../versions/versioned/_utils/model_base.py | 9 ++-- .../authentication/union/_utils/model_base.py | 9 ++-- .../conditionalrequest/_utils/model_base.py | 9 ++-- .../repeatability/_utils/model_base.py | 9 ++-- .../specialwords/_utils/model_base.py | 9 ++-- .../streaming/jsonl/_utils/model_base.py | 9 ++-- .../typetest/array/_utils/model_base.py | 9 ++-- .../typetest/dictionary/_utils/model_base.py | 9 ++-- .../enum/extensible/_utils/model_base.py | 9 ++-- .../typetest/enum/fixed/_utils/model_base.py | 9 ++-- .../typetest/model/empty/_utils/model_base.py | 9 ++-- .../enumdiscriminator/_utils/model_base.py | 9 ++-- .../nesteddiscriminator/_utils/model_base.py | 9 ++-- .../notdiscriminated/_utils/model_base.py | 9 ++-- .../model/recursive/_utils/model_base.py | 9 ++-- .../singlediscriminator/_utils/model_base.py | 9 ++-- .../typetest/model/usage/_utils/model_base.py | 9 ++-- .../model/visibility/_utils/model_base.py | 9 ++-- .../additionalproperties/_utils/model_base.py | 9 ++-- .../property/nullable/_utils/model_base.py | 9 ++-- .../property/optional/_utils/model_base.py | 9 ++-- .../property/valuetypes/_utils/model_base.py | 9 ++-- .../typetest/scalar/_utils/model_base.py | 9 ++-- .../typetest/union/_utils/model_base.py | 9 ++-- .../versioning/added/_utils/model_base.py | 9 ++-- .../madeoptional/_utils/model_base.py | 9 ++-- .../versioning/removed/_utils/model_base.py | 9 ++-- .../renamedfrom/_utils/model_base.py | 9 ++-- .../_utils/model_base.py | 9 ++-- .../typechangedfrom/_utils/model_base.py | 9 ++-- .../_generated/_operations/_operations.py | 2 +- .../subdir/_generated/_utils/model_base.py | 9 ++-- .../_generated/aio/_operations/_operations.py | 2 +- .../apikey/_operations/_operations.py | 2 +- .../apikey/_utils/model_base.py | 9 ++-- .../apikey/aio/_operations/_operations.py | 2 +- .../http/custom/_operations/_operations.py | 2 +- .../http/custom/_utils/model_base.py | 9 ++-- .../custom/aio/_operations/_operations.py | 2 +- .../oauth2/_operations/_operations.py | 2 +- .../oauth2/_utils/model_base.py | 9 ++-- .../oauth2/aio/_operations/_operations.py | 2 +- .../authentication/union/_utils/model_base.py | 9 ++-- .../encode/bytes/_utils/model_base.py | 9 ++-- .../encode/datetime/_utils/model_base.py | 9 ++-- .../encode/duration/_utils/model_base.py | 9 ++-- .../encode/numeric/_utils/model_base.py | 9 ++-- .../headasbooleanfalse/_utils/model_base.py | 9 ++-- .../headasbooleantrue/_utils/model_base.py | 9 ++-- .../parameters/basic/_utils/model_base.py | 9 ++-- .../bodyoptionality/_utils/model_base.py | 9 ++-- .../collectionformat/_utils/model_base.py | 9 ++-- .../parameters/path/_utils/model_base.py | 9 ++-- .../parameters/spread/_utils/model_base.py | 9 ++-- .../contentnegotiation/_utils/model_base.py | 9 ++-- .../jsonmergepatch/_utils/model_base.py | 9 ++-- .../payload/mediatype/_utils/model_base.py | 9 ++-- .../payload/multipart/_utils/model_base.py | 9 ++-- .../payload/pageable/_utils/model_base.py | 9 ++-- .../payload/xml/_utils/model_base.py | 9 ++-- .../_operations/_operations.py | 8 +-- .../statuscoderange/_utils/model_base.py | 9 ++-- .../aio/_operations/_operations.py | 8 +-- .../routes/routes/_utils/model_base.py | 9 ++-- .../encodedname/json/_utils/model_base.py | 9 ++-- .../endpoint/notdefined/_utils/model_base.py | 9 ++-- .../server/path/multiple/_utils/model_base.py | 9 ++-- .../server/path/single/_utils/model_base.py | 9 ++-- .../notversioned/_utils/model_base.py | 9 ++-- .../versions/versioned/_utils/model_base.py | 9 ++-- .../authentication/union/_utils/model_base.py | 9 ++-- .../conditionalrequest/_utils/model_base.py | 9 ++-- .../repeatability/_utils/model_base.py | 9 ++-- .../specialwords/_utils/model_base.py | 9 ++-- .../streaming/jsonl/_utils/model_base.py | 9 ++-- .../typetest/array/_utils/model_base.py | 9 ++-- .../typetest/dictionary/_utils/model_base.py | 9 ++-- .../enum/extensible/_utils/model_base.py | 9 ++-- .../typetest/enum/fixed/_utils/model_base.py | 9 ++-- .../typetest/model/empty/_utils/model_base.py | 9 ++-- .../enumdiscriminator/_utils/model_base.py | 9 ++-- .../nesteddiscriminator/_utils/model_base.py | 9 ++-- .../notdiscriminated/_utils/model_base.py | 9 ++-- .../model/recursive/_utils/model_base.py | 9 ++-- .../singlediscriminator/_utils/model_base.py | 9 ++-- .../typetest/model/usage/_utils/model_base.py | 9 ++-- .../model/visibility/_utils/model_base.py | 9 ++-- .../additionalproperties/_utils/model_base.py | 9 ++-- .../property/nullable/_utils/model_base.py | 9 ++-- .../property/optional/_utils/model_base.py | 9 ++-- .../property/valuetypes/_utils/model_base.py | 9 ++-- .../typetest/scalar/_utils/model_base.py | 9 ++-- .../typetest/union/_utils/model_base.py | 9 ++-- .../versioning/added/_utils/model_base.py | 9 ++-- .../madeoptional/_utils/model_base.py | 9 ++-- .../versioning/removed/_utils/model_base.py | 9 ++-- .../renamedfrom/_utils/model_base.py | 9 ++-- .../_utils/model_base.py | 9 ++-- .../typechangedfrom/_utils/model_base.py | 9 ++-- 180 files changed, 720 insertions(+), 870 deletions(-) diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py index a79d35adcc2..104d8af49e3 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py @@ -145,7 +145,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py index 0d9890873fa..52a900f805b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py @@ -121,7 +121,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py index a79d35adcc2..104d8af49e3 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_operations/_operations.py @@ -145,7 +145,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_utils/model_base.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py index 0d9890873fa..52a900f805b 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py @@ -121,7 +121,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py index 5b26c016a03..40dd4aa36dd 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py @@ -145,7 +145,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py index 5e9e7a39ef3..e32db8bfe64 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py @@ -121,7 +121,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py index 33e66f0269c..7d7feb8aeb2 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py @@ -145,7 +145,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py index f5bd15d2660..27d6cc6dad0 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py @@ -121,7 +121,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_utils/model_base.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/specs/azure/clientgenerator/core/clientlocation/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/specs/azure/clientgenerator/core/clientlocation/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/specs/azure/clientgenerator/core/clientlocation/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-location/specs/azure/clientgenerator/core/clientlocation/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py index cd6e45e136f..d000ea9b14f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/aio/operations/_operations.py @@ -117,7 +117,7 @@ async def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -288,7 +288,7 @@ async def create_with_system_assigned( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -459,7 +459,7 @@ async def update_with_user_assigned_and_system_assigned( # pylint: disable=name except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -545,7 +545,7 @@ async def get_for_predefined_error( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -712,7 +712,7 @@ async def create_for_user_defined_error( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.CloudError, response) + error = _failsafe_deserialize(_models.CloudError, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py index b69f55badce..fb44c92c7e3 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/operations/_operations.py @@ -269,7 +269,7 @@ def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -440,7 +440,7 @@ def create_with_system_assigned( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -611,7 +611,7 @@ def update_with_user_assigned_and_system_assigned( # pylint: disable=name-too-l except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -697,7 +697,7 @@ def get_for_predefined_error( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -864,7 +864,7 @@ def create_for_user_defined_error( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.CloudError, response) + error = _failsafe_deserialize(_models.CloudError, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py index 87590419a24..ef8547a1209 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/aio/operations/_operations.py @@ -95,7 +95,7 @@ async def _two6_k_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py index 0805827a1a2..2f096189ab7 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/operations/_operations.py @@ -125,7 +125,7 @@ def _two6_k_initial(self, resource_group_name: str, large_header_name: str, **kw except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py index ad85ce40dcc..214957d166d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/aio/operations/_operations.py @@ -110,7 +110,7 @@ async def get(self, location: str, parameter: str, **kwargs: Any) -> _models.Non except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -256,7 +256,7 @@ async def create( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py index 36ed29eee3c..34d992a8a1b 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/operations/_operations.py @@ -169,7 +169,7 @@ def get(self, location: str, parameter: str, **kwargs: Any) -> _models.NonResour except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -315,7 +315,7 @@ def create( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py index f26a8b4925f..23b30584609 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/aio/operations/_operations.py @@ -149,7 +149,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -288,7 +288,7 @@ async def check_global( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -429,7 +429,7 @@ async def check_local( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -512,7 +512,7 @@ async def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -744,7 +744,7 @@ async def _export_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -972,7 +972,7 @@ async def _delete_initial(self, resource_group_name: str, order_name: str, **kwa except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1115,7 +1115,7 @@ async def get(self, resource_group_name: str, widget_name: str, **kwargs: Any) - except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1284,7 +1284,7 @@ async def patch( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1453,7 +1453,7 @@ async def post( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1583,7 +1583,7 @@ async def provider_post( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py index 910de03e7b3..385a7ea8502 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/operations/_operations.py @@ -426,7 +426,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -565,7 +565,7 @@ def check_global( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -706,7 +706,7 @@ def check_local( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -789,7 +789,7 @@ def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1017,7 +1017,7 @@ def _export_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1245,7 +1245,7 @@ def _delete_initial(self, resource_group_name: str, order_name: str, **kwargs: A except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1388,7 +1388,7 @@ def get(self, resource_group_name: str, widget_name: str, **kwargs: Any) -> _mod except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1557,7 +1557,7 @@ def patch( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1726,7 +1726,7 @@ def post( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1856,7 +1856,7 @@ def provider_post( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py index 0bc8751d03e..db3f9165a93 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/aio/operations/_operations.py @@ -143,7 +143,7 @@ async def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -212,7 +212,7 @@ async def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -449,7 +449,7 @@ async def _update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -670,7 +670,7 @@ async def _delete_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -828,7 +828,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -913,7 +913,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -1068,7 +1068,7 @@ async def action_sync( if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -1154,7 +1154,7 @@ async def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1225,7 +1225,7 @@ async def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1477,7 +1477,7 @@ async def _update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1716,7 +1716,7 @@ async def _delete_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1884,7 +1884,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -1960,7 +1960,7 @@ async def get_by_resource_group(self, resource_group_name: str, **kwargs: Any) - except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -2027,7 +2027,7 @@ async def _create_or_update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -2320,7 +2320,7 @@ async def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -2417,7 +2417,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -2494,7 +2494,7 @@ async def get(self, resource_uri: str, extensions_resource_name: str, **kwargs: except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -2562,7 +2562,7 @@ async def _create_or_update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -2895,7 +2895,7 @@ async def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -2955,7 +2955,7 @@ async def delete(self, resource_uri: str, extensions_resource_name: str, **kwarg if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -3042,7 +3042,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -3119,7 +3119,7 @@ async def get(self, location: str, location_resource_name: str, **kwargs: Any) - except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3281,7 +3281,7 @@ async def create_or_update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3443,7 +3443,7 @@ async def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3503,7 +3503,7 @@ async def delete(self, location: str, location_resource_name: str, **kwargs: Any if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -3590,7 +3590,7 @@ async def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py index aa4b91a9f8e..869561404aa 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/operations/_operations.py @@ -902,7 +902,7 @@ def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -971,7 +971,7 @@ def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1208,7 +1208,7 @@ def _update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1429,7 +1429,7 @@ def _delete_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -1587,7 +1587,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -1672,7 +1672,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -1827,7 +1827,7 @@ def action_sync( # pylint: disable=inconsistent-return-statements if response.status_code not in [204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -1913,7 +1913,7 @@ def get( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -1984,7 +1984,7 @@ def _create_or_replace_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -2236,7 +2236,7 @@ def _update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -2475,7 +2475,7 @@ def _delete_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -2643,7 +2643,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -2719,7 +2719,7 @@ def get_by_resource_group(self, resource_group_name: str, **kwargs: Any) -> _mod except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -2786,7 +2786,7 @@ def _create_or_update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -3079,7 +3079,7 @@ def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3176,7 +3176,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -3253,7 +3253,7 @@ def get(self, resource_uri: str, extensions_resource_name: str, **kwargs: Any) - except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3321,7 +3321,7 @@ def _create_or_update_initial( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) response_headers = {} @@ -3654,7 +3654,7 @@ def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -3716,7 +3716,7 @@ def delete( # pylint: disable=inconsistent-return-statements if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -3803,7 +3803,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response @@ -3880,7 +3880,7 @@ def get(self, location: str, location_resource_name: str, **kwargs: Any) -> _mod except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -4042,7 +4042,7 @@ def create_or_update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -4204,7 +4204,7 @@ def update( except (StreamConsumedError, StreamClosedError): pass map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if _stream: @@ -4266,7 +4266,7 @@ def delete( # pylint: disable=inconsistent-return-statements if response.status_code not in [200, 204]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) if cls: @@ -4352,7 +4352,7 @@ def get_next(next_link=None): if response.status_code not in [200]: map_error(status_code=response.status_code, response=response, error_map=error_map) - error = _failsafe_deserialize(_models.ErrorResponse, response) + error = _failsafe_deserialize(_models.ErrorResponse, response.json()) raise HttpResponseError(response=response, model=error, error_format=ARMErrorFormat) return pipeline_response diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_utils/model_base.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_utils/model_base.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_utils/model_base.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_utils/model_base.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_utils/model_base.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/parameters-path/parameters/path/_utils/model_base.py b/packages/typespec-python/test/azure/generated/parameters-path/parameters/path/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/parameters-path/parameters/path/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-path/parameters/path/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_utils/model_base.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_utils/model_base.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py index 90f305c0b87..17791e05ef4 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py @@ -114,9 +114,9 @@ def error_response_status_code_in_range( # pylint: disable=inconsistent-return- map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if 494 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.ErrorInRange, response) + error = _failsafe_deserialize(_models.ErrorInRange, response.json()) else: - error = _failsafe_deserialize(_models.DefaultError, response) + error = _failsafe_deserialize(_models.DefaultError, response.json()) raise HttpResponseError(response=response, model=error) if cls: @@ -160,10 +160,10 @@ def error_response_status_code404(self, **kwargs: Any) -> None: # pylint: disab map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 404: - error = _failsafe_deserialize(_models.NotFoundError, response) + error = _failsafe_deserialize(_models.NotFoundError, response.json()) raise ResourceNotFoundError(response=response, model=error) if 400 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.Standard4XXError, response) + error = _failsafe_deserialize(_models.Standard4XXError, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py index 0e30ec1a437..efc0af913ee 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py @@ -80,9 +80,9 @@ async def error_response_status_code_in_range(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if 494 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.ErrorInRange, response) + error = _failsafe_deserialize(_models.ErrorInRange, response.json()) else: - error = _failsafe_deserialize(_models.DefaultError, response) + error = _failsafe_deserialize(_models.DefaultError, response.json()) raise HttpResponseError(response=response, model=error) if cls: @@ -126,10 +126,10 @@ async def error_response_status_code404(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 404: - error = _failsafe_deserialize(_models.NotFoundError, response) + error = _failsafe_deserialize(_models.NotFoundError, response.json()) raise ResourceNotFoundError(response=response, model=error) if 400 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.Standard4XXError, response) + error = _failsafe_deserialize(_models.Standard4XXError, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_utils/model_base.py b/packages/typespec-python/test/azure/generated/routes/routes/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_utils/model_base.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_utils/model_base.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py b/packages/typespec-python/test/azure/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_utils/model_base.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_utils/model_base.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py index c62e7e7784a..49d5c725938 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py @@ -29,7 +29,6 @@ from azure.core import CaseInsensitiveEnumMeta from azure.core.pipeline import PipelineResponse from azure.core.serialization import _Null -from azure.core.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -941,13 +940,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -957,10 +956,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py index 4f9138c20db..c2c0f07f7da 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_operations/_operations.py @@ -132,7 +132,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py index c8b7fab486b..bdc739e3998 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key-subdir/authentication/api/key/subdir/_generated/aio/_operations/_operations.py @@ -111,7 +111,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_operations/_operations.py index 4f9138c20db..c2c0f07f7da 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_operations/_operations.py @@ -132,7 +132,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py index c8b7fab486b..bdc739e3998 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/aio/_operations/_operations.py @@ -111,7 +111,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py index b580692464e..9912506b033 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_operations/_operations.py @@ -132,7 +132,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py index e934f648232..45010da7895 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/aio/_operations/_operations.py @@ -111,7 +111,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py index 4534919cc07..b8c8eb49202 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_operations/_operations.py @@ -132,7 +132,7 @@ def invalid(self, **kwargs: Any) -> None: # pylint: disable=inconsistent-return map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py index b9acd6b43c4..9c1bbded70b 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/aio/_operations/_operations.py @@ -111,7 +111,7 @@ async def invalid(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 403: - error = _failsafe_deserialize(_models.InvalidAuth, response) + error = _failsafe_deserialize(_models.InvalidAuth, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/parameters-path/parameters/path/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/parameters-path/parameters/path/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-path/parameters/path/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-path/parameters/path/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py index 8b7c820c704..a41ccae8907 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_operations/_operations.py @@ -104,9 +104,9 @@ def error_response_status_code_in_range( # pylint: disable=inconsistent-return- map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if 494 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.ErrorInRange, response) + error = _failsafe_deserialize(_models.ErrorInRange, response.json()) else: - error = _failsafe_deserialize(_models.DefaultError, response) + error = _failsafe_deserialize(_models.DefaultError, response.json()) raise HttpResponseError(response=response, model=error) if cls: @@ -147,10 +147,10 @@ def error_response_status_code404(self, **kwargs: Any) -> None: # pylint: disab map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 404: - error = _failsafe_deserialize(_models.NotFoundError, response) + error = _failsafe_deserialize(_models.NotFoundError, response.json()) raise ResourceNotFoundError(response=response, model=error) if 400 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.Standard4XXError, response) + error = _failsafe_deserialize(_models.Standard4XXError, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py index 8504a0bcaa3..22ea7c88e1d 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/aio/_operations/_operations.py @@ -71,9 +71,9 @@ async def error_response_status_code_in_range(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if 494 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.ErrorInRange, response) + error = _failsafe_deserialize(_models.ErrorInRange, response.json()) else: - error = _failsafe_deserialize(_models.DefaultError, response) + error = _failsafe_deserialize(_models.DefaultError, response.json()) raise HttpResponseError(response=response, model=error) if cls: @@ -116,10 +116,10 @@ async def error_response_status_code404(self, **kwargs: Any) -> None: map_error(status_code=response.status_code, response=response, error_map=error_map) error = None if response.status_code == 404: - error = _failsafe_deserialize(_models.NotFoundError, response) + error = _failsafe_deserialize(_models.NotFoundError, response.json()) raise ResourceNotFoundError(response=response, model=error) if 400 <= response.status_code <= 499: - error = _failsafe_deserialize(_models.Standard4XXError, response) + error = _failsafe_deserialize(_models.Standard4XXError, response.json()) raise HttpResponseError(response=response, model=error) if cls: diff --git a/packages/typespec-python/test/unbranded/generated/routes/routes/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/routes/routes/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/routes/routes/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/routes/routes/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/setuppy-authentication-union/setuppy/authentication/union/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/streaming-jsonl/streaming/jsonl/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True diff --git a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py index e880ccde9b8..e69ff2ca36d 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_utils/model_base.py @@ -23,7 +23,6 @@ from corehttp.utils import CaseInsensitiveEnumMeta from corehttp.runtime.pipeline import PipelineResponse from corehttp.serialization import _Null -from corehttp.rest import HttpResponse _LOGGER = logging.getLogger(__name__) @@ -935,13 +934,13 @@ def _deserialize( def _failsafe_deserialize( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, module: typing.Optional[str] = None, rf: typing.Optional["_RestField"] = None, format: typing.Optional[str] = None, ) -> typing.Any: try: - return _deserialize(deserializer, response.json(), module, rf, format) + return _deserialize(deserializer, value, module, rf, format) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True @@ -951,10 +950,10 @@ def _failsafe_deserialize( def _failsafe_deserialize_xml( deserializer: typing.Any, - response: HttpResponse, + value: typing.Any, ) -> typing.Any: try: - return _deserialize_xml(deserializer, response.text()) + return _deserialize_xml(deserializer, value) except DeserializationError: _LOGGER.warning( "Ran into a deserialization error. Ignoring since this is failsafe deserialization", exc_info=True