From dbd11533d20a59063bb57cdf64a6689c4da9157b Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 6 Mar 2025 05:50:48 +0000 Subject: [PATCH 1/6] Update dependencies (2025-03-06 05:50:48) --- packages/autorest.python/package.json | 4 +- packages/typespec-python/package.json | 48 +- pnpm-lock.yaml | 1087 ++++++++++++++++++------- 3 files changed, 828 insertions(+), 311 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 847f59fe2f5..6bfd5168257 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": "~0.6.11", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.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 d91f0d158d6..71c6f61b0d3 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -45,37 +45,37 @@ "generator/**" ], "peerDependencies": { - "@typespec/compiler": ">=0.65.0 <1.0.0", - "@typespec/http": ">=0.65.0 <1.0.0", - "@typespec/rest": ">=0.65.0 <1.0.0", - "@typespec/versioning": ">=0.65.0 <1.0.0", - "@typespec/openapi": ">=0.65.0 <1.0.0", - "@azure-tools/typespec-azure-core": ">=0.51.0 <1.0.0", - "@azure-tools/typespec-azure-resource-manager": ">=0.51.0 <1.0.0", - "@azure-tools/typespec-autorest": ">=0.51.0 <1.0.0", - "@azure-tools/typespec-azure-rulesets": ">=0.51.0 <3.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.51.1 <1.0.0" + "@typespec/compiler": ">=0.66.0 <1.0.0", + "@typespec/http": ">=0.66.0 <1.0.0", + "@typespec/rest": ">=0.66.0 <1.0.0", + "@typespec/versioning": ">=0.66.0 <1.0.0", + "@typespec/openapi": ">=0.66.0 <1.0.0", + "@azure-tools/typespec-azure-core": ">=0.52.0 <1.0.0", + "@azure-tools/typespec-azure-resource-manager": ">=0.52.0 <1.0.0", + "@azure-tools/typespec-autorest": ">=0.52.0 <1.0.0", + "@azure-tools/typespec-azure-rulesets": ">=0.52.0 <3.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.52.0 <1.0.0" }, "dependencies": { "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.6.11", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { - "@typespec/compiler": "~0.65.0", - "@typespec/http": "~0.65.0", - "@typespec/rest": "~0.65.0", - "@typespec/versioning": "~0.65.0", - "@typespec/openapi": "~0.65.0", - "@azure-tools/typespec-azure-resource-manager": "~0.51.0", - "@azure-tools/typespec-azure-core": "~0.51.0", - "@azure-tools/typespec-azure-rulesets": "~0.51.0", - "@azure-tools/typespec-autorest": "~0.51.0", - "@azure-tools/typespec-client-generator-core": "~0.51.1", - "@azure-tools/azure-http-specs": "0.1.0-alpha.6", - "@typespec/http-specs": "0.1.0-alpha.9", + "@typespec/compiler": "~0.66.0", + "@typespec/http": "~0.66.0", + "@typespec/rest": "~0.66.0", + "@typespec/versioning": "~0.66.0", + "@typespec/openapi": "~0.66.0", + "@azure-tools/typespec-azure-resource-manager": "~0.52.0", + "@azure-tools/typespec-azure-core": "~0.52.0", + "@azure-tools/typespec-azure-rulesets": "~0.52.0", + "@azure-tools/typespec-autorest": "~0.52.0", + "@azure-tools/typespec-client-generator-core": "~0.52.0", + "@azure-tools/azure-http-specs": "0.1.0-alpha.7", + "@typespec/http-specs": "0.1.0-alpha.11", "@types/js-yaml": "~4.0.5", "@types/node": "~22.5.4", "@types/yargs": "~17.0.33", @@ -89,4 +89,4 @@ "chalk": "5.3.0", "@types/fs-extra": "11.0.4" } -} +} \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 98ae714ddc0..97feb6535e2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: ~0.6.11 - version: 0.6.11(5dspuyrtxidbihsk6ixub7kbfm) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(okmb572npleddk7eu2wecik6ue) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -79,8 +79,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: ~0.6.11 - version: 0.6.11(5dspuyrtxidbihsk6ixub7kbfm) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(phqovtct7xb2vaqtokn2tbhedm) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -95,23 +95,23 @@ importers: version: 4.19.2 devDependencies: '@azure-tools/azure-http-specs': - specifier: 0.1.0-alpha.6 - version: 0.1.0-alpha.6(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) + specifier: 0.1.0-alpha.7 + version: 0.1.0-alpha.7(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@types/node@22.5.5)(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@azure-tools/typespec-autorest': - specifier: ~0.51.0 - version: 0.51.0(jam7mnjbyunevglidmcn4r37mu) + specifier: ~0.52.0 + version: 0.52.0(3rl4rvlhrau42sgbqnofgdnzru) '@azure-tools/typespec-azure-core': - specifier: ~0.51.0 - version: 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) + specifier: ~0.52.0 + version: 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) '@azure-tools/typespec-azure-resource-manager': - specifier: ~0.51.0 - version: 0.51.0(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0)) + specifier: ~0.52.0 + version: 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@azure-tools/typespec-azure-rulesets': - specifier: ~0.51.0 - version: 0.51.0(6ivl7wlwgurmoe44tk3z43uzly) + specifier: ~0.52.0 + version: 0.52.0(hnvyb6ssbaiolad3f2jkopuscy) '@azure-tools/typespec-client-generator-core': - specifier: ~0.51.1 - version: 0.51.1(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) + specifier: ~0.52.0 + version: 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@types/fs-extra': specifier: 11.0.4 version: 11.0.4 @@ -128,23 +128,23 @@ importers: specifier: ~17.0.33 version: 17.0.33 '@typespec/compiler': - specifier: ~0.65.0 - version: 0.65.0 + specifier: ~0.66.0 + version: 0.66.0(@types/node@22.5.5) '@typespec/http': - specifier: ~0.65.0 - version: 0.65.0(@typespec/compiler@0.65.0) + specifier: ~0.66.0 + version: 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) '@typespec/http-specs': - specifier: 0.1.0-alpha.9 - version: 0.1.0-alpha.9(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) + specifier: 0.1.0-alpha.11 + version: 0.1.0-alpha.11(@types/node@22.5.5)(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/openapi': - specifier: ~0.65.0 - version: 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + specifier: ~0.66.0 + version: 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/rest': - specifier: ~0.65.0 - version: 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + specifier: ~0.66.0 + version: 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/versioning': - specifier: ~0.65.0 - version: 0.65.0(@typespec/compiler@0.65.0) + specifier: ~0.66.0 + version: 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) c8: specifier: ^10.1.3 version: 10.1.3 @@ -179,69 +179,69 @@ packages: resolution: {integrity: sha512-T21naRb6JDdjjn2s/zwr9iCIv/9jviL/PRtiWAhi+3UA2WKH2wrId2VqJa4uVD7iEV8BLkuGgFmMkaMBG26hFw==} engines: {node: '>=12.0.0'} - '@azure-tools/azure-http-specs@0.1.0-alpha.6': - resolution: {integrity: sha512-ET3k4DXvKvtij3hCyPgM6LOgsTZyfHc1kHtYEI7wdWHQb7wPyKlhUD+yf2YUoFjdQ8ea0GRfsCK1oECfME641Q==} + '@azure-tools/azure-http-specs@0.1.0-alpha.7': + resolution: {integrity: sha512-5fne+fk4xrSN13VhMrkcOiE30v40IXGIfW6JWCySbZZdQm4wjngWj1YNe+O1Ivy5UIbg6je1Xht1R43kFFOKag==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.51.0 - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/rest': ~0.65.0 - '@typespec/versioning': ~0.65.0 - '@typespec/xml': ~0.65.0 - - '@azure-tools/typespec-autorest@0.51.0': - resolution: {integrity: sha512-PmhY5zxtsebTqNDRcssc1faaTuXyh284iwVY0Qn/mwNDczBOstqPbuBq/0j1LePnagRndvINowhqrePBmxCi6A==} + '@azure-tools/typespec-azure-core': ~0.52.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/rest': ~0.66.0 + '@typespec/versioning': ~0.66.0 + '@typespec/xml': ~0.66.0 + + '@azure-tools/typespec-autorest@0.52.0': + resolution: {integrity: sha512-r08neSPfski9Q3Jvp6tardmS4KXHOML0wSdz5DZgVg0UN+yaVFgLIvMy7VwS636bjpNhwZj8gMT4jYyVM44hlw==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.51.0 - '@azure-tools/typespec-azure-resource-manager': ~0.51.0 - '@azure-tools/typespec-client-generator-core': ~0.51.0 - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/openapi': ~0.65.0 - '@typespec/rest': ~0.65.0 - '@typespec/versioning': ~0.65.0 - - '@azure-tools/typespec-azure-core@0.51.0': - resolution: {integrity: sha512-ig27mvrxVEfyIzTPnWWk1ASkL0x8jKx5V3sanICv1p8iW6qXEcGZZHTmI2onfFcXSoEV52r0MWj9iu0yI4bxMA==} + '@azure-tools/typespec-azure-core': ~0.52.0 + '@azure-tools/typespec-azure-resource-manager': ~0.52.0 + '@azure-tools/typespec-client-generator-core': ~0.52.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/openapi': ~0.66.0 + '@typespec/rest': ~0.66.0 + '@typespec/versioning': ~0.66.0 + + '@azure-tools/typespec-azure-core@0.52.0': + resolution: {integrity: sha512-pZkzjQCIgnUdVY0e4YNAAD3vN3HaZim1MMZJRiQaD5vK7WuQQLKYfOf/y8W5zim0GLpvKLNg8mMMmPrRZlW0BQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/rest': ~0.65.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/rest': ~0.66.0 - '@azure-tools/typespec-azure-resource-manager@0.51.0': - resolution: {integrity: sha512-vqEwAsT8pkG90V3u1cPTKV3nZTuuyl6W+GMBeDfVLYmhQmJQBiJ78jTgFEqsGarAvp9KSRdY4+HUvaOGonONPA==} + '@azure-tools/typespec-azure-resource-manager@0.52.0': + resolution: {integrity: sha512-A5nCTEWdAo1tpG5nwWHDMDqEAopp3K3CgbnOB0wwiAV8+zkr5qNC0/48WQvu7pmwlgMDgdvZpNty3bWdLRztQQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.51.0 - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/openapi': ~0.65.0 - '@typespec/rest': ~0.65.0 - '@typespec/versioning': ~0.65.0 - - '@azure-tools/typespec-azure-rulesets@0.51.0': - resolution: {integrity: sha512-R20BCEjdN0KT1uAk6cWK44j3ELD9x1oJlYCiXOSY7A2g30nzBvr2E7BT3V09A9Og9ArP+Uwh0J5ZvD7dn/cLCQ==} + '@azure-tools/typespec-azure-core': ~0.52.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/openapi': ~0.66.0 + '@typespec/rest': ~0.66.0 + '@typespec/versioning': ~0.66.0 + + '@azure-tools/typespec-azure-rulesets@0.52.0': + resolution: {integrity: sha512-fvp2YffW55wSjDMaBA9H/kfxHN6pvPM3JWgUcD4QuC7lnTrBymJHpWIW19X8BbiVPwz9dKEcyY6iHyU/iOyehw==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.51.0 - '@azure-tools/typespec-azure-resource-manager': ~0.51.0 - '@azure-tools/typespec-client-generator-core': ~0.51.0 - '@typespec/compiler': ~0.65.0 + '@azure-tools/typespec-azure-core': ~0.52.0 + '@azure-tools/typespec-azure-resource-manager': ~0.52.0 + '@azure-tools/typespec-client-generator-core': ~0.52.0 + '@typespec/compiler': ~0.66.0 - '@azure-tools/typespec-client-generator-core@0.51.1': - resolution: {integrity: sha512-FkkH6RWQpIXsug1egIcjZP4/9slGyFxJsKzVqpgvMoZDYfl+6dYfQkesmpTJx1SB96VHyI1SPz2Wk6MLoeuTXQ==} + '@azure-tools/typespec-client-generator-core@0.52.0': + resolution: {integrity: sha512-P1kh4mkqPmZY0JsJAtnTRDjzynI05TybgRTsaEnQtFwnlbfUzu1KtKDF4midQDMT6Ao8JEt/S2Nd4nQ1/qrHyQ==} engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.51.0 - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/openapi': ~0.65.0 - '@typespec/rest': ~0.65.0 - '@typespec/versioning': ~0.65.0 - '@typespec/xml': ~0.65.0 + '@azure-tools/typespec-azure-core': ~0.52.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/openapi': ~0.66.0 + '@typespec/rest': ~0.66.0 + '@typespec/versioning': ~0.66.0 + '@typespec/xml': ~0.66.0 '@azure/abort-controller@2.1.2': resolution: {integrity: sha512-nBrLsEWm4J2u5LpAPjxADTlq3trDgVZZXHNKabeXZtpq3d3AbN/KGO82R87rdDz5/lYB024rtEf10/q0urNgsA==} @@ -323,10 +323,6 @@ packages: resolution: {integrity: sha512-SriLPKezypIsiZ+TtlFfE46uuBIap2HeaQVS78e1P7rz5OSbq0rsd52WE1mC5f7vAeLiXqv7I7oRhL3WFZEw3Q==} engines: {node: '>=18.0.0'} - '@babel/code-frame@7.25.9': - resolution: {integrity: sha512-z88xeGxnzehn2sqZ8UdGQEvYErF1odv2CftxInpSYJt6uHuPe9YjahKZITGs3l5LeI9d2ROG+obuDAoSlqbNfQ==} - engines: {node: '>=6.9.0'} - '@babel/code-frame@7.26.2': resolution: {integrity: sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==} engines: {node: '>=6.9.0'} @@ -339,10 +335,6 @@ packages: resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==} engines: {node: '>=6.9.0'} - '@babel/highlight@7.25.9': - resolution: {integrity: sha512-llL88JShoCsth8fF8R4SJnIn+WLvR6ccFxu1H3FlMhDontdcmZWf2HgIZ7AIqV3Xcck1idlohrN4EUBQz6klbw==} - engines: {node: '>=6.9.0'} - '@bcoe/v8-coverage@1.0.2': resolution: {integrity: sha512-6zABk/ECA/QYSCQ1NGiVwwbQerUCZ+TQbp64Q3AgmfNvurHH0j8TtXa1qbShXA6qqkpAj4V5W8pP6mLe1mcMqA==} engines: {node: '>=18'} @@ -884,6 +876,127 @@ packages: resolution: {integrity: sha512-d2CGZR2o7fS6sWB7DG/3a95bGKQyHMACZ5aW8qGkkqQpUoZV6C0X7Pc7l4ZNMZkfNBf4VWNe9E1jRsf0G146Ew==} engines: {node: '>=18.18'} + '@inquirer/checkbox@4.1.2': + resolution: {integrity: sha512-PL9ixC5YsPXzXhAZFUPmkXGxfgjkdfZdPEPPmt4kFwQ4LBMDG9n/nHXYRGGZSKZJs+d1sGKWgS2GiPzVRKUdtQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/confirm@5.1.6': + resolution: {integrity: sha512-6ZXYK3M1XmaVBZX6FCfChgtponnL0R6I7k8Nu+kaoNkT828FVZTcca1MqmWQipaW2oNREQl5AaPCUOOCVNdRMw==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/core@10.1.7': + resolution: {integrity: sha512-AA9CQhlrt6ZgiSy6qoAigiA1izOa751ugX6ioSjqgJ+/Gd+tEN/TORk5sUYNjXuHWfW0r1n/a6ak4u/NqHHrtA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/editor@4.2.7': + resolution: {integrity: sha512-gktCSQtnSZHaBytkJKMKEuswSk2cDBuXX5rxGFv306mwHfBPjg5UAldw9zWGoEyvA9KpRDkeM4jfrx0rXn0GyA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/expand@4.0.9': + resolution: {integrity: sha512-Xxt6nhomWTAmuSX61kVgglLjMEFGa+7+F6UUtdEUeg7fg4r9vaFttUUKrtkViYYrQBA5Ia1tkOJj2koP9BuLig==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/figures@1.0.10': + resolution: {integrity: sha512-Ey6176gZmeqZuY/W/nZiUyvmb1/qInjcpiZjXWi6nON+nxJpD1bxtSoBxNliGISae32n6OwbY+TSXPZ1CfS4bw==} + engines: {node: '>=18'} + + '@inquirer/input@4.1.6': + resolution: {integrity: sha512-1f5AIsZuVjPT4ecA8AwaxDFNHny/tSershP/cTvTDxLdiIGTeILNcKozB0LaYt6mojJLUbOYhpIxicaYf7UKIQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/number@3.0.9': + resolution: {integrity: sha512-iN2xZvH3tyIYXLXBvlVh0npk1q/aVuKXZo5hj+K3W3D4ngAEq/DkLpofRzx6oebTUhBvOgryZ+rMV0yImKnG3w==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/password@4.0.9': + resolution: {integrity: sha512-xBEoOw1XKb0rIN208YU7wM7oJEHhIYkfG7LpTJAEW913GZeaoQerzf5U/LSHI45EVvjAdgNXmXgH51cUXKZcJQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/prompts@7.3.2': + resolution: {integrity: sha512-G1ytyOoHh5BphmEBxSwALin3n1KGNYB6yImbICcRQdzXfOGbuJ9Jske/Of5Sebk339NSGGNfUshnzK8YWkTPsQ==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/rawlist@4.0.9': + resolution: {integrity: sha512-+5t6ebehKqgoxV8fXwE49HkSF2Rc9ijNiVGEQZwvbMI61/Q5RcD+jWD6Gs1tKdz5lkI8GRBL31iO0HjGK1bv+A==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/search@3.0.9': + resolution: {integrity: sha512-DWmKztkYo9CvldGBaRMr0ETUHgR86zE6sPDVOHsqz4ISe9o1LuiWfgJk+2r75acFclA93J/lqzhT0dTjCzHuoA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/select@4.0.9': + resolution: {integrity: sha512-BpJyJe7Dkhv2kz7yG7bPSbJLQuu/rqyNlF1CfiiFeFwouegfH+zh13KDyt6+d9DwucKo7hqM3wKLLyJxZMO+Xg==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + + '@inquirer/type@3.0.4': + resolution: {integrity: sha512-2MNFrDY8jkFYc9Il9DgLsHhMzuHnOYM1+CUYVWbzu9oT0hC7V7EcYvdCKeoll/Fcci04A+ERZ9wcc7cQ8lTkIA==} + engines: {node: '>=18'} + peerDependencies: + '@types/node': '>=18' + peerDependenciesMeta: + '@types/node': + optional: true + '@isaacs/cliui@8.0.2': resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} engines: {node: '>=12'} @@ -934,9 +1047,9 @@ packages: resolution: {integrity: sha512-S79NdEgDQd/NGCay6TCoVzXSj74skRZIKJcpJjC5lOq34SZzyI6MqtiiWoiVWoVrTcGjNeC4ipbh1VIHlpfF5Q==} engines: {node: ^18.17.0 || >=20.5.0} - '@npmcli/arborist@9.0.0': - resolution: {integrity: sha512-ZFsI/VJ7wJ2rTksLNJ9xqr75Ste/wiKvW+7w12ZGbcT67xWii97yS+aDlh3edNhqlqoXvdzYG4hTNui81VxJCA==} - engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/arborist@8.0.0': + resolution: {integrity: sha512-APDXxtXGSftyXibl0dZ3CuZYmmVnkiN3+gkqwXshY4GKC2rof2+Lg0sGuj6H1p2YfBAKd7PRwuMVhu6Pf/nQ/A==} + engines: {node: ^18.17.0 || >=20.5.0} hasBin: true '@npmcli/fs@3.1.1': @@ -969,9 +1082,9 @@ packages: resolution: {integrity: sha512-mnuMuibEbkaBTYj9HQ3dMe6L0ylYW+s/gfz7tBDMFY/la0w9Kf44P9aLn4/+/t3aTR3YUHKoT6XQL9rlicIe3Q==} engines: {node: ^18.17.0 || >=20.5.0} - '@npmcli/metavuln-calculator@9.0.0': - resolution: {integrity: sha512-znLKqdy1ZEGNK3VB9j/RzGyb/P0BJb3fGpvEbHIAyBAXsps2l1ce8SVHfsGAFLl9s8072PxafqTn7RC8wSnQPg==} - engines: {node: ^20.17.0 || >=22.9.0} + '@npmcli/metavuln-calculator@8.0.1': + resolution: {integrity: sha512-WXlJx9cz3CfHSt9W9Opi1PTFc4WZLFomm5O8wekxQZmkyljrBRwATwDxfC9iOXJwYVmfiW1C1dUe0W2aN0UrSg==} + engines: {node: ^18.17.0 || >=20.5.0} '@npmcli/name-from-folder@3.0.0': resolution: {integrity: sha512-61cDL8LUc9y80fXn+lir+iVt8IS0xHqEKwPu/5jCjxQTVoSCmkXvw4vbMrzAMtmghz3/AkiBjhHkDKUH+kf7kA==} @@ -1495,59 +1608,60 @@ packages: resolution: {integrity: sha512-b1tx0orFCCh/THWPQa2ZwWzvOeyzzp36vkJYOpVg0u8UVOIsfVrnuC9FqAw9gRKn+rG2VmWQ/zDJZzkxUnj/XQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typespec/compiler@0.65.0': - resolution: {integrity: sha512-L86mb0aVxhh7z+8Ea1W28TKuGbZk+/ELXjnQOJK4RWXXCoVtxictSXTTX4mZPFoEwOUde5+jQ2Pf8YuUD2frUw==} + '@typespec/compiler@0.66.0': + resolution: {integrity: sha512-JoaHQCc1Va48xuiws7UHFa9ix1bxxJrjTud69mrbu67HerqLN5meLwNkqVGrOlEfUnvMcnaXNQlHbMbixmshQA==} engines: {node: '>=18.0.0'} hasBin: true - '@typespec/http-client-python@0.6.11': - resolution: {integrity: sha512-3FRsfZgaWTF7xVTtLPRyeTz1Qoh+PPbVhn1V/SMQBqMzpli0r53UpNBbEMkSLWubWb0iXAtjP47ZPw/RcTtzlw==} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz} + version: 0.7.0 engines: {node: '>=18.0.0'} peerDependencies: - '@azure-tools/typespec-autorest': '>=0.51.0 <1.0.0' - '@azure-tools/typespec-azure-core': '>=0.51.0 <1.0.0' - '@azure-tools/typespec-azure-resource-manager': '>=0.51.0 <1.0.0' - '@azure-tools/typespec-azure-rulesets': '>=0.51.0 <3.0.0' - '@azure-tools/typespec-client-generator-core': '>=0.51.1 <1.0.0' - '@typespec/compiler': '>=0.65.0 <1.0.0' - '@typespec/http': '>=0.65.0 <1.0.0' - '@typespec/openapi': '>=0.65.0 <1.0.0' - '@typespec/rest': '>=0.65.0 <1.0.0' - '@typespec/versioning': '>=0.65.0 <1.0.0' - - '@typespec/http-specs@0.1.0-alpha.9': - resolution: {integrity: sha512-IIzW606BcfVzAz9U6cWf4u4lGXlTy+UQI69mvW3qM5x2XfcMQJ5RRk/7vnjiendv2zVHBtW7ZRBMezqXkM6nNg==} + '@azure-tools/typespec-autorest': '>=0.52.0 <1.0.0' + '@azure-tools/typespec-azure-core': '>=0.52.0 <1.0.0' + '@azure-tools/typespec-azure-resource-manager': '>=0.52.0 <1.0.0' + '@azure-tools/typespec-azure-rulesets': '>=0.52.0 <3.0.0' + '@azure-tools/typespec-client-generator-core': '>=0.52.0 <1.0.0' + '@typespec/compiler': '>=0.66.0 <1.0.0' + '@typespec/http': '>=0.66.0 <1.0.0' + '@typespec/openapi': '>=0.66.0 <1.0.0' + '@typespec/rest': '>=0.66.0 <1.0.0' + '@typespec/versioning': '>=0.66.0 <1.0.0' + + '@typespec/http-specs@0.1.0-alpha.11': + resolution: {integrity: sha512-VOE84qmxKA5PJtb+xYXuhZT5d/JBuKIN3EQlt1+g256/gl4HuImMl3SEoGtO+gCn7pJ/rkRiVodELNQY6c6fbw==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 - '@typespec/rest': ~0.65.0 - '@typespec/versioning': ~0.65.0 - '@typespec/xml': ~0.65.0 - - '@typespec/http@0.65.0': - resolution: {integrity: sha512-mSJUVmlBq4VO2Pv+mXNXccsuq+8AySWUwbJbbyNQTtpb2M9MIKh2+fbnyb8EMjskxpBWNP2DqABhfEMVesVUkg==} + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 + '@typespec/rest': ~0.66.0 + '@typespec/versioning': ~0.66.0 + '@typespec/xml': ~0.66.0 + + '@typespec/http@0.66.0': + resolution: {integrity: sha512-IKD5FMvnjbZ5cdQ3wTXXAnnQgDcqFuPtVphpTdnYER87gGEa8YNLocgK44CLFB+GvVkTecDltG0CNKPSPQ0RMw==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 - '@typespec/streams': ~0.65.0 + '@typespec/compiler': ~0.66.0 + '@typespec/streams': ~0.66.0 peerDependenciesMeta: '@typespec/streams': optional: true - '@typespec/openapi@0.65.0': - resolution: {integrity: sha512-BMrdO2BOTo2Yiz/GMIwZuLSJbtodbKsYTAEOxbKTdrROs8Sgl2QLNitD3W48k3I9KQ69nx4RJt0kSbaAYb8L4Q==} + '@typespec/openapi@0.66.0': + resolution: {integrity: sha512-Oiwx2glN5bET4C3cuU5DIhd7nL/wBi+tg1KGBx0bU4KogLaGf+BLW5ak0Epxnvhy8VYvPhCpTGbez0I6gkEOwA==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 - '@typespec/rest@0.65.0': - resolution: {integrity: sha512-279qiO8wy5Ks2nZ/byoXhSey8Gk+leUFJVDMNkjxtxGIswN19EV/MwawUcFQF+gNvExM58RHTx+7BJuA22K6aQ==} + '@typespec/rest@0.66.0': + resolution: {integrity: sha512-r/o1GXz/BB9lgMPzMkrLIhTUm4elx5JAD/t6QGWDdUptXntVSapCYmIwCV/Iv10+QnHrsB1/v152nz9nd4lOHg==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 - '@typespec/http': ~0.65.0 + '@typespec/compiler': ~0.66.0 + '@typespec/http': ~0.66.0 '@typespec/spec-api@0.1.0-alpha.1': resolution: {integrity: sha512-WjZ3D/Narn264gUIU4bZ1iSLsPeIMUjCX1k91+H93UNCp7TeX/RO5jDG08Ryp9TnZDRITMPcs4TRfO3p0551AA==} @@ -1557,16 +1671,16 @@ packages: resolution: {integrity: sha512-1n6xng80jPkS05S8vkkQ6eHtud4hIxe5VtxrqUjx5LfLPE4azV3CiVf8zbzzsR6c2DFsF7XtfcjVjcUgBHDaMA==} engines: {node: '>=16.0.0'} - '@typespec/spector@0.1.0-alpha.7': - resolution: {integrity: sha512-lYjozAlEubTnOxgua6SzHYmYAqfVUtyWbUwaM9tqSBKC70HAZBCTi9rzWAbJPgyRFAQ8gs/GQinFvusrJeTQQA==} + '@typespec/spector@0.1.0-alpha.8': + resolution: {integrity: sha512-rS6OLMFAFpVT8cOs4T9OD2deTC62EEStVCv2bg1Hc/RMzPg7gy1h37Zm6NYcI3HQa7bIy3jdds/VSsZqofzavg==} engines: {node: '>=16.0.0'} hasBin: true - '@typespec/versioning@0.65.0': - resolution: {integrity: sha512-ACNOSgWVpiBwLyA8UlDSDeby+xDYm6wnRCPmdtdoyUpEwgBV/DcJerYf/ujVSCF0jDHItLQ65pC3ydMJDsJWdQ==} + '@typespec/versioning@0.66.0': + resolution: {integrity: sha512-8AhTpo6jxcjwxZPAegI/sDEePoqXz5Si8XBw/x7jz+EkBvbgqT9GT0UUzJL1XgOwQaks2aMr4DdOn8n9kOCltg==} engines: {node: '>=18.0.0'} peerDependencies: - '@typespec/compiler': ~0.65.0 + '@typespec/compiler': ~0.66.0 '@typespec/xml@0.59.0': resolution: {integrity: sha512-UoSsEmm7SXEtL9OXsqotu1TjruJSobqZMhUKAAlC9EP2WfQIHLRfBu7xaZB0sgwq7CM6zy/Hq1RZfQyL1KqEvg==} @@ -1643,6 +1757,10 @@ packages: resolution: {integrity: sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==} engines: {node: '>=6'} + ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -1651,10 +1769,6 @@ packages: resolution: {integrity: sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==} engines: {node: '>=12'} - ansi-styles@3.2.1: - resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} - engines: {node: '>=4'} - ansi-styles@4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} engines: {node: '>=8'} @@ -1819,10 +1933,6 @@ packages: resolution: {integrity: sha512-T2VJbcDuZQ0Tb2EWwSotMPJjgpy1/tGee1BTpUNsGZ/qgNjV2t7Mvu+d4600U564nbLesN1x2dPL+xii174Ekg==} engines: {node: '>=14.16'} - chalk@2.4.2: - resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} - engines: {node: '>=4'} - chalk@4.1.2: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} @@ -1834,6 +1944,9 @@ packages: change-case@5.4.4: resolution: {integrity: sha512-HRQyTk2/YPEkt9TnUPbOpr64Uw3KOicFWPVBb+xiHvd6eBx/qPr9xqfBFDT8P2vWsvvz4jbEkfDe71W3VyNu2w==} + chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + check-error@2.1.1: resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==} engines: {node: '>= 16'} @@ -1870,6 +1983,10 @@ packages: resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==} engines: {node: '>=6'} + cli-width@4.1.0: + resolution: {integrity: sha512-ouuZd4/dm2Sw5Gmqy6bGyNNNe1qt9RpmxveLSO7KcgsTnU7RXfsw+/bukWGo1abgBiMAic068rclZsO4IWmmxQ==} + engines: {node: '>= 12'} + cliui@8.0.1: resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} engines: {node: '>=12'} @@ -2367,6 +2484,10 @@ packages: resolution: {integrity: sha512-28HqgMZAmih1Czt9ny7qr6ek2qddF4FclbMzwhCREB6OFfH+rXAnuNCwo1/wFvrtbgsQDb4kSbX9de9lFbrXnA==} engines: {node: '>= 0.10.0'} + external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + fast-check@3.21.0: resolution: {integrity: sha512-QpmbiqRFRZ+SIlBJh6xi5d/PgXciUc/xWKc4Vi2RWEHHIRx6oM3f0fWNna++zP9VB5HUBTObUK9gTKQP3vVcrQ==} engines: {node: '>=8.0.0'} @@ -2597,10 +2718,6 @@ packages: has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} - has-flag@3.0.0: - resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} - engines: {node: '>=4'} - has-flag@4.0.0: resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} engines: {node: '>=8'} @@ -3216,6 +3333,10 @@ packages: resolution: {integrity: sha512-71ippSywq5Yb7/tVYyGbkBggbU8H3u5Rz56fH60jGFgr8uHwxs+aSKeqmluIVzM0m0kB7xQjKS6qPfd0b2ZoqQ==} hasBin: true + mute-stream@2.0.0: + resolution: {integrity: sha512-WWdIxpyjEn+FhQJQQv9aQAYlHoNVdzIzUySNV1gHUPDSdZJ3yZn7pAAbQcV7B56Mvu881q9FZV+0Vx2xC44VWA==} + engines: {node: ^18.17.0 || >=20.5.0} + nanoid@3.3.8: resolution: {integrity: sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==} engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1} @@ -3311,14 +3432,14 @@ packages: resolution: {integrity: sha512-f1NpFjNI9O4VbKMOlA5QoBq/vSQPORHcTZ2feJpFkTHJ9eQkdlmZEKSjcAhxTGInC7RlEyScT9ui67NaOsjFWA==} engines: {node: ^18.17.0 || >=20.5.0} - npm-packlist@10.0.0: - resolution: {integrity: sha512-rht9U6nS8WOBDc53eipZNPo5qkAV4X2rhKE2Oj1DYUQ3DieXfj0mKkVmjnf3iuNdtMd8WfLdi2L6ASkD/8a+Kg==} - engines: {node: ^20.17.0 || >=22.9.0} - npm-packlist@8.0.2: resolution: {integrity: sha512-shYrPFIS/JLP4oQmAwDyk5HcyysKW8/JLTEA32S0Z5TzvpaeeX2yMFfoK1fjEBnCBvVyIB/Jj/GBFdm0wsgzbA==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + npm-packlist@9.0.0: + resolution: {integrity: sha512-8qSayfmHJQTx3nJWYbbUmflpyarbLMBc6LCAjYsiGtXxDB68HaZpb8re6zeaLGxZzDuMdhsg70jryJe+RrItVQ==} + engines: {node: ^18.17.0 || >=20.5.0} + npm-pick-manifest@10.0.0: resolution: {integrity: sha512-r4fFa4FqYY8xaM7fHecQ9Z2nE9hgNfJR+EmoKv0+chvzWkBcORX3r0FpTByP+CbOVJDladMXnPQGVN8PBLGuTQ==} engines: {node: ^18.17.0 || >=20.5.0} @@ -3405,6 +3526,10 @@ packages: resolution: {integrity: sha512-ANIvzobt1rls2BDny5fWZ3ZVKyD6nscLvfFRpQgfWsythlcsVUC9kL0zq6j2Z5z9wwp1kd7wpsD/T9qNPVLCaQ==} engines: {node: '>=18'} + os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + p-limit@2.3.0: resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} engines: {node: '>=6'} @@ -3449,9 +3574,14 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} hasBin: true - pacote@21.0.0: - resolution: {integrity: sha512-lcqexq73AMv6QNLo7SOpz0JJoaGdS3rBFgF122NZVl1bApo2mfu+XzUBU/X/XsiJu+iUmKpekRayqQYAs+PhkA==} - engines: {node: ^20.17.0 || >=22.9.0} + pacote@19.0.1: + resolution: {integrity: sha512-zIpxWAsr/BvhrkSruspG8aqCQUUrWtpwx0GjiRZQhEM/pZXrigA32ElN3vTcCPUDOFmHr6SFxwYrvVUs5NTEUg==} + engines: {node: ^18.17.0 || >=20.5.0} + hasBin: true + + pacote@20.0.0: + resolution: {integrity: sha512-pRjC5UFwZCgx9kUFDVM9YEahv4guZ1nSLqwmWiLUnDbGsjs+U5w7z6Uc8HNR1a6x8qnu5y9xtGE6D1uAuYz+0A==} + engines: {node: ^18.17.0 || >=20.5.0} hasBin: true parent-module@1.0.1: @@ -3965,10 +4095,6 @@ packages: strnum@1.0.5: resolution: {integrity: sha512-J8bbNyKKXl5qYcR36TIO8W3mVGVHrmmxsd5PAItGkmyzwJvybiw2IVq5nqd0i4LSNSkB/sx9VHllbfFdr9k1JA==} - supports-color@5.5.0: - resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} - engines: {node: '>=4'} - supports-color@7.2.0: resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} engines: {node: '>=8'} @@ -4028,6 +4154,10 @@ packages: resolution: {integrity: sha512-n1cw8k1k0x4pgA2+9XrOkFydTerNcJ1zWCO5Nn9scWHTD+5tp8dghT2x1uduQePZTZgd3Tupf+x9BxJjeJi77Q==} engines: {node: '>=14.0.0'} + tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -4089,6 +4219,10 @@ packages: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} engines: {node: '>= 0.8.0'} + type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + type-fest@0.6.0: resolution: {integrity: sha512-q+MB8nYR1KDLrgr4G5yemftpMC7/QLqVndBmEEdqzmNj5dcFOO4Oo8qlwZE3ULT3+Zim1F8Kq4cBnikNhlCMlg==} engines: {node: '>=8'} @@ -4338,9 +4472,8 @@ packages: vscode-uri@3.0.8: resolution: {integrity: sha512-AyFQ0EVmsOZOlAnxoFOGOq1SQDWAB7C6aqMGS23svWAllfOaxbuFvcT8D1i8z3Gyn8fraVeZNNmN6e9bxxXkKw==} - walk-up-path@4.0.0: - resolution: {integrity: sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A==} - engines: {node: 20 || >=22} + walk-up-path@3.0.1: + resolution: {integrity: sha512-9YlCL/ynK3CTlrSRrDxZvUauLzAswPCrsaCgilqFevUYpeEW0/3ScEjaa3kbW/T0ghhkEr7mv+fpjqn1Y1YuTA==} web-streams-polyfill@3.3.3: resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==} @@ -4403,6 +4536,10 @@ packages: resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} engines: {node: '>=0.10.0'} + wrap-ansi@6.2.0: + resolution: {integrity: sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==} + engines: {node: '>=8'} + wrap-ansi@7.0.0: resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} engines: {node: '>=10'} @@ -4486,6 +4623,10 @@ packages: resolution: {integrity: sha512-b4JR1PFR10y1mKjhHY9LaGo6tmrgjit7hxVIeAmyMw3jegXR4dhYqLaQF5zMXZxY7tLpMyJeLjr1C4rLmkVe8g==} engines: {node: '>=12.20'} + yoctocolors-cjs@2.1.2: + resolution: {integrity: sha512-cYVsTjKl8b+FrnidjibDWskAv7UKOfcwaVZdp/it9n1s9fU3IkgDbhdIRKCW4JDsAlECJY0ytoVPT3sK6kideA==} + engines: {node: '>=18'} + zod@3.23.8: resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} @@ -4509,67 +4650,116 @@ snapshots: command-exists: 1.2.9 semver: 7.6.3 - '@azure-tools/azure-http-specs@0.1.0-alpha.6(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0))': + '@azure-tools/azure-http-specs@0.1.0-alpha.7(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@types/node@22.5.5)(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': dependencies: - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/spec-api': 0.1.0-alpha.1 - '@typespec/spector': 0.1.0-alpha.7 - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/xml': 0.59.0(@typespec/compiler@0.65.0) + '@typespec/spector': 0.1.0-alpha.8(@types/node@22.5.5) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/xml': 0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) transitivePeerDependencies: - '@types/express' + - '@types/node' - '@typespec/streams' - bluebird - debug - supports-color - '@azure-tools/typespec-autorest@0.51.0(jam7mnjbyunevglidmcn4r37mu)': + '@azure-tools/typespec-autorest@0.52.0(3rl4rvlhrau42sgbqnofgdnzru)': + dependencies: + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + + '@azure-tools/typespec-autorest@0.52.0(6uu33tjguzoy44vb3pkhjaszly)': + dependencies: + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + + '@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + + '@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))': dependencies: - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@azure-tools/typespec-azure-resource-manager': 0.51.0(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0)) - '@azure-tools/typespec-client-generator-core': 0.51.1(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/openapi': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) - '@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))': + '@azure-tools/typespec-azure-resource-manager@0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))': dependencies: - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + change-case: 5.4.4 + pluralize: 8.0.0 - '@azure-tools/typespec-azure-resource-manager@0.51.0(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))': + '@azure-tools/typespec-azure-resource-manager@0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': dependencies: - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/openapi': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) change-case: 5.4.4 pluralize: 8.0.0 - '@azure-tools/typespec-azure-rulesets@0.51.0(6ivl7wlwgurmoe44tk3z43uzly)': + '@azure-tools/typespec-azure-rulesets@0.52.0(eqsyztd2tvlx3c3vm7av2vzyaa)': dependencies: - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@azure-tools/typespec-azure-resource-manager': 0.51.0(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0)) - '@azure-tools/typespec-client-generator-core': 0.51.1(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) - '@typespec/compiler': 0.65.0 + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) - '@azure-tools/typespec-client-generator-core@0.51.1(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0))': + '@azure-tools/typespec-azure-rulesets@0.52.0(hnvyb6ssbaiolad3f2jkopuscy)': dependencies: - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/openapi': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/xml': 0.59.0(@typespec/compiler@0.65.0) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + + '@azure-tools/typespec-client-generator-core@0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))': + dependencies: + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/xml': 0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + change-case: 5.4.4 + pluralize: 8.0.0 + yaml: 2.7.0 + + '@azure-tools/typespec-client-generator-core@0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': + dependencies: + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/xml': 0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) change-case: 5.4.4 pluralize: 8.0.0 yaml: 2.7.0 @@ -4581,7 +4771,7 @@ snapshots: '@azure/core-auth@1.8.0': dependencies: '@azure/abort-controller': 2.1.2 - '@azure/core-util': 1.10.0 + '@azure/core-util': 1.11.0 tslib: 2.7.0 '@azure/core-auth@1.9.0': @@ -4593,10 +4783,10 @@ snapshots: '@azure/core-client@1.9.2': dependencies: '@azure/abort-controller': 2.1.2 - '@azure/core-auth': 1.8.0 + '@azure/core-auth': 1.9.0 '@azure/core-rest-pipeline': 1.17.0 '@azure/core-tracing': 1.1.2 - '@azure/core-util': 1.10.0 + '@azure/core-util': 1.11.0 '@azure/logger': 1.1.4 tslib: 2.7.0 transitivePeerDependencies: @@ -4613,7 +4803,7 @@ snapshots: '@azure/core-lro@2.7.2': dependencies: '@azure/abort-controller': 2.1.2 - '@azure/core-util': 1.10.0 + '@azure/core-util': 1.11.0 '@azure/logger': 1.1.4 tslib: 2.7.0 @@ -4711,14 +4901,14 @@ snapshots: '@azure/storage-blob@12.26.0': dependencies: '@azure/abort-controller': 2.1.2 - '@azure/core-auth': 1.8.0 + '@azure/core-auth': 1.9.0 '@azure/core-client': 1.9.2 '@azure/core-http-compat': 2.1.2 '@azure/core-lro': 2.7.2 '@azure/core-paging': 1.6.2 '@azure/core-rest-pipeline': 1.17.0 '@azure/core-tracing': 1.1.2 - '@azure/core-util': 1.10.0 + '@azure/core-util': 1.11.0 '@azure/core-xml': 1.4.3 '@azure/logger': 1.1.4 events: 3.3.0 @@ -4726,11 +4916,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/code-frame@7.25.9': - dependencies: - '@babel/highlight': 7.25.9 - picocolors: 1.1.1 - '@babel/code-frame@7.26.2': dependencies: '@babel/helper-validator-identifier': 7.25.9 @@ -4741,13 +4926,6 @@ snapshots: '@babel/helper-validator-identifier@7.25.9': {} - '@babel/highlight@7.25.9': - dependencies: - '@babel/helper-validator-identifier': 7.25.9 - chalk: 2.4.2 - js-tokens: 4.0.0 - picocolors: 1.1.1 - '@bcoe/v8-coverage@1.0.2': {} '@chronus/chronus@0.12.1': @@ -5177,6 +5355,236 @@ snapshots: '@humanwhocodes/retry@0.3.0': {} + '@inquirer/checkbox@4.1.2(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.10.10) + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/checkbox@4.1.2(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.5.5) + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/confirm@5.1.6(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/confirm@5.1.6(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/core@10.1.7(@types/node@22.10.10)': + dependencies: + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.10.10) + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/core@10.1.7(@types/node@22.5.5)': + dependencies: + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.5.5) + ansi-escapes: 4.3.2 + cli-width: 4.1.0 + mute-stream: 2.0.0 + signal-exit: 4.1.0 + wrap-ansi: 6.2.0 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/editor@4.2.7(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + external-editor: 3.1.0 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/editor@4.2.7(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + external-editor: 3.1.0 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/expand@4.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/expand@4.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/figures@1.0.10': {} + + '@inquirer/input@4.1.6(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/input@4.1.6(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/number@3.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/number@3.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/password@4.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + ansi-escapes: 4.3.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/password@4.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + ansi-escapes: 4.3.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/prompts@7.3.2(@types/node@22.10.10)': + dependencies: + '@inquirer/checkbox': 4.1.2(@types/node@22.10.10) + '@inquirer/confirm': 5.1.6(@types/node@22.10.10) + '@inquirer/editor': 4.2.7(@types/node@22.10.10) + '@inquirer/expand': 4.0.9(@types/node@22.10.10) + '@inquirer/input': 4.1.6(@types/node@22.10.10) + '@inquirer/number': 3.0.9(@types/node@22.10.10) + '@inquirer/password': 4.0.9(@types/node@22.10.10) + '@inquirer/rawlist': 4.0.9(@types/node@22.10.10) + '@inquirer/search': 3.0.9(@types/node@22.10.10) + '@inquirer/select': 4.0.9(@types/node@22.10.10) + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/prompts@7.3.2(@types/node@22.5.5)': + dependencies: + '@inquirer/checkbox': 4.1.2(@types/node@22.5.5) + '@inquirer/confirm': 5.1.6(@types/node@22.5.5) + '@inquirer/editor': 4.2.7(@types/node@22.5.5) + '@inquirer/expand': 4.0.9(@types/node@22.5.5) + '@inquirer/input': 4.1.6(@types/node@22.5.5) + '@inquirer/number': 3.0.9(@types/node@22.5.5) + '@inquirer/password': 4.0.9(@types/node@22.5.5) + '@inquirer/rawlist': 4.0.9(@types/node@22.5.5) + '@inquirer/search': 3.0.9(@types/node@22.5.5) + '@inquirer/select': 4.0.9(@types/node@22.5.5) + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/rawlist@4.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/type': 3.0.4(@types/node@22.10.10) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/rawlist@4.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/type': 3.0.4(@types/node@22.5.5) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/search@3.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.10.10) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/search@3.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.5.5) + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/select@4.0.9(@types/node@22.10.10)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.10.10) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.10.10) + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/select@4.0.9(@types/node@22.5.5)': + dependencies: + '@inquirer/core': 10.1.7(@types/node@22.5.5) + '@inquirer/figures': 1.0.10 + '@inquirer/type': 3.0.4(@types/node@22.5.5) + ansi-escapes: 4.3.2 + yoctocolors-cjs: 2.1.2 + optionalDependencies: + '@types/node': 22.5.5 + + '@inquirer/type@3.0.4(@types/node@22.10.10)': + optionalDependencies: + '@types/node': 22.10.10 + + '@inquirer/type@3.0.4(@types/node@22.5.5)': + optionalDependencies: + '@types/node': 22.5.5 + '@isaacs/cliui@8.0.2': dependencies: string-width: 5.1.2 @@ -5257,13 +5665,13 @@ snapshots: transitivePeerDependencies: - supports-color - '@npmcli/arborist@9.0.0': + '@npmcli/arborist@8.0.0': dependencies: '@isaacs/string-locale-compare': 1.1.0 '@npmcli/fs': 4.0.0 '@npmcli/installed-package-contents': 3.0.0 '@npmcli/map-workspaces': 4.0.2 - '@npmcli/metavuln-calculator': 9.0.0 + '@npmcli/metavuln-calculator': 8.0.1 '@npmcli/name-from-folder': 3.0.0 '@npmcli/node-gyp': 4.0.0 '@npmcli/package-json': 6.1.1 @@ -5274,6 +5682,7 @@ snapshots: cacache: 19.0.1 common-ancestor-path: 1.0.1 hosted-git-info: 8.0.2 + json-parse-even-better-errors: 4.0.0 json-stringify-nice: 1.1.4 lru-cache: 10.4.3 minimatch: 9.0.5 @@ -5282,7 +5691,7 @@ snapshots: npm-package-arg: 12.0.2 npm-pick-manifest: 10.0.0 npm-registry-fetch: 18.0.2 - pacote: 21.0.0 + pacote: 19.0.1 parse-conflict-json: 4.0.0 proc-log: 5.0.0 proggy: 3.0.0 @@ -5292,7 +5701,7 @@ snapshots: semver: 7.6.3 ssri: 12.0.0 treeverse: 3.0.0 - walk-up-path: 4.0.0 + walk-up-path: 3.0.1 transitivePeerDependencies: - bluebird - supports-color @@ -5352,11 +5761,11 @@ snapshots: transitivePeerDependencies: - bluebird - '@npmcli/metavuln-calculator@9.0.0': + '@npmcli/metavuln-calculator@8.0.1': dependencies: cacache: 19.0.1 json-parse-even-better-errors: 4.0.0 - pacote: 21.0.0 + pacote: 20.0.0 proc-log: 5.0.0 semver: 7.6.3 transitivePeerDependencies: @@ -5981,17 +6390,18 @@ snapshots: '@typescript-eslint/types': 8.7.0 eslint-visitor-keys: 3.4.3 - '@typespec/compiler@0.65.0': + '@typespec/compiler@0.66.0(@types/node@22.10.10)': dependencies: '@babel/code-frame': 7.26.2 - '@npmcli/arborist': 9.0.0 + '@inquirer/prompts': 7.3.2(@types/node@22.10.10) + '@npmcli/arborist': 8.0.0 ajv: 8.17.1 change-case: 5.4.4 globby: 14.0.2 + is-unicode-supported: 2.1.0 mustache: 4.2.0 picocolors: 1.1.1 prettier: 3.4.2 - prompts: 2.4.2 semver: 7.6.3 temporal-polyfill: 0.2.5 vscode-languageserver: 9.0.1 @@ -5999,21 +6409,45 @@ snapshots: yaml: 2.7.0 yargs: 17.7.2 transitivePeerDependencies: + - '@types/node' - bluebird - supports-color - '@typespec/http-client-python@0.6.11(5dspuyrtxidbihsk6ixub7kbfm)': - dependencies: - '@azure-tools/typespec-autorest': 0.51.0(jam7mnjbyunevglidmcn4r37mu) - '@azure-tools/typespec-azure-core': 0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))) - '@azure-tools/typespec-azure-resource-manager': 0.51.0(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0)) - '@azure-tools/typespec-azure-rulesets': 0.51.0(6ivl7wlwgurmoe44tk3z43uzly) - '@azure-tools/typespec-client-generator-core': 0.51.1(@azure-tools/typespec-azure-core@0.51.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))))(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0)) - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/openapi': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) + '@typespec/compiler@0.66.0(@types/node@22.5.5)': + dependencies: + '@babel/code-frame': 7.26.2 + '@inquirer/prompts': 7.3.2(@types/node@22.5.5) + '@npmcli/arborist': 8.0.0 + ajv: 8.17.1 + change-case: 5.4.4 + globby: 14.0.2 + is-unicode-supported: 2.1.0 + mustache: 4.2.0 + picocolors: 1.1.1 + prettier: 3.4.2 + semver: 7.6.3 + temporal-polyfill: 0.2.5 + vscode-languageserver: 9.0.1 + vscode-languageserver-textdocument: 1.0.12 + yaml: 2.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - bluebird + - supports-color + + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(okmb572npleddk7eu2wecik6ue)': + dependencies: + '@azure-tools/typespec-autorest': 0.52.0(6uu33tjguzoy44vb3pkhjaszly) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@azure-tools/typespec-azure-rulesets': 0.52.0(eqsyztd2tvlx3c3vm7av2vzyaa) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))))(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) js-yaml: 4.1.0 pyodide: 0.26.2 semver: 7.6.3 @@ -6022,35 +6456,70 @@ snapshots: - bufferutil - utf-8-validate - '@typespec/http-specs@0.1.0-alpha.9(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))(@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)))(@typespec/versioning@0.65.0(@typespec/compiler@0.65.0))(@typespec/xml@0.59.0(@typespec/compiler@0.65.0))': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(phqovtct7xb2vaqtokn2tbhedm)': + dependencies: + '@azure-tools/typespec-autorest': 0.52.0(3rl4rvlhrau42sgbqnofgdnzru) + '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))) + '@azure-tools/typespec-azure-resource-manager': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@azure-tools/typespec-azure-rulesets': 0.52.0(hnvyb6ssbaiolad3f2jkopuscy) + '@azure-tools/typespec-client-generator-core': 0.52.0(@azure-tools/typespec-azure-core@0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))))(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/openapi': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + js-yaml: 4.1.0 + pyodide: 0.26.2 + semver: 7.6.3 + tsx: 4.19.2 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@typespec/http-specs@0.1.0-alpha.11(@types/node@22.5.5)(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))(@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': dependencies: - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/spec-api': 0.1.0-alpha.1 - '@typespec/spector': 0.1.0-alpha.7 - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/xml': 0.59.0(@typespec/compiler@0.65.0) + '@typespec/spector': 0.1.0-alpha.8(@types/node@22.5.5) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/xml': 0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) transitivePeerDependencies: - '@types/express' + - '@types/node' - '@typespec/streams' - bluebird - debug - supports-color - '@typespec/http@0.65.0(@typespec/compiler@0.65.0)': + '@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))': dependencies: - '@typespec/compiler': 0.65.0 + '@typespec/compiler': 0.66.0(@types/node@22.10.10) - '@typespec/openapi@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))': + '@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))': dependencies: - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) - '@typespec/rest@0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0))': + '@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))': dependencies: - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + + '@typespec/openapi@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + + '@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)) + + '@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) '@typespec/spec-api@0.1.0-alpha.1': dependencies: @@ -6077,16 +6546,16 @@ snapshots: transitivePeerDependencies: - supports-color - '@typespec/spector@0.1.0-alpha.7': + '@typespec/spector@0.1.0-alpha.8(@types/node@22.5.5)': dependencies: '@azure/identity': 4.6.0 '@types/js-yaml': 4.0.9 - '@typespec/compiler': 0.65.0 - '@typespec/http': 0.65.0(@typespec/compiler@0.65.0) - '@typespec/rest': 0.65.0(@typespec/compiler@0.65.0)(@typespec/http@0.65.0(@typespec/compiler@0.65.0)) + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + '@typespec/http': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) + '@typespec/rest': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))) '@typespec/spec-api': 0.1.0-alpha.1 '@typespec/spec-coverage-sdk': 0.1.0-alpha.3 - '@typespec/versioning': 0.65.0(@typespec/compiler@0.65.0) + '@typespec/versioning': 0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)) ajv: 8.17.1 axios: 1.7.9 body-parser: 1.20.3 @@ -6107,18 +6576,27 @@ snapshots: yargs: 17.7.2 transitivePeerDependencies: - '@types/express' + - '@types/node' - '@typespec/streams' - bluebird - debug - supports-color - '@typespec/versioning@0.65.0(@typespec/compiler@0.65.0)': + '@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.10.10) + + '@typespec/versioning@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))': + dependencies: + '@typespec/compiler': 0.66.0(@types/node@22.5.5) + + '@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.10.10))': dependencies: - '@typespec/compiler': 0.65.0 + '@typespec/compiler': 0.66.0(@types/node@22.10.10) - '@typespec/xml@0.59.0(@typespec/compiler@0.65.0)': + '@typespec/xml@0.59.0(@typespec/compiler@0.66.0(@types/node@22.5.5))': dependencies: - '@typespec/compiler': 0.65.0 + '@typespec/compiler': 0.66.0(@types/node@22.5.5) '@vitest/expect@3.0.5': dependencies: @@ -6202,14 +6680,14 @@ snapshots: ansi-colors@4.1.3: {} + ansi-escapes@4.3.2: + dependencies: + type-fest: 0.21.3 + ansi-regex@5.0.1: {} ansi-regex@6.1.0: {} - ansi-styles@3.2.1: - dependencies: - color-convert: 1.9.3 - ansi-styles@4.3.0: dependencies: color-convert: 2.0.1 @@ -6431,12 +6909,6 @@ snapshots: dependencies: chalk: 5.3.0 - chalk@2.4.2: - dependencies: - ansi-styles: 3.2.1 - escape-string-regexp: 1.0.5 - supports-color: 5.5.0 - chalk@4.1.2: dependencies: ansi-styles: 4.3.0 @@ -6446,6 +6918,8 @@ snapshots: change-case@5.4.4: {} + chardet@0.7.0: {} + check-error@2.1.1: {} chownr@2.0.0: {} @@ -6471,6 +6945,8 @@ snapshots: cli-spinners@2.9.2: {} + cli-width@4.1.0: {} + cliui@8.0.1: dependencies: string-width: 4.2.3 @@ -7209,6 +7685,12 @@ snapshots: transitivePeerDependencies: - supports-color + external-editor@3.1.0: + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + fast-check@3.21.0: dependencies: pure-rand: 6.1.0 @@ -7458,8 +7940,6 @@ snapshots: has-bigints@1.0.2: {} - has-flag@3.0.0: {} - has-flag@4.0.0: {} has-own-prop@2.0.0: {} @@ -8051,6 +8531,8 @@ snapshots: mustache@4.2.0: {} + mute-stream@2.0.0: {} + nanoid@3.3.8: {} natural-compare@1.4.0: {} @@ -8160,14 +8642,14 @@ snapshots: semver: 7.6.3 validate-npm-package-name: 6.0.0 - npm-packlist@10.0.0: - dependencies: - ignore-walk: 7.0.0 - npm-packlist@8.0.2: dependencies: ignore-walk: 6.0.5 + npm-packlist@9.0.0: + dependencies: + ignore-walk: 7.0.0 + npm-pick-manifest@10.0.0: dependencies: npm-install-checks: 7.1.1 @@ -8307,6 +8789,8 @@ snapshots: string-width: 7.2.0 strip-ansi: 7.1.0 + os-tmpdir@1.0.2: {} + p-limit@2.3.0: dependencies: p-try: 2.2.0 @@ -8364,7 +8848,30 @@ snapshots: - bluebird - supports-color - pacote@21.0.0: + pacote@19.0.1: + dependencies: + '@npmcli/git': 6.0.1 + '@npmcli/installed-package-contents': 3.0.0 + '@npmcli/package-json': 6.1.1 + '@npmcli/promise-spawn': 8.0.2 + '@npmcli/run-script': 9.0.2 + cacache: 19.0.1 + fs-minipass: 3.0.3 + minipass: 7.1.2 + npm-package-arg: 12.0.2 + npm-packlist: 9.0.0 + npm-pick-manifest: 10.0.0 + npm-registry-fetch: 18.0.2 + proc-log: 5.0.0 + promise-retry: 2.0.1 + sigstore: 3.1.0 + ssri: 12.0.0 + tar: 6.2.1 + transitivePeerDependencies: + - bluebird + - supports-color + + pacote@20.0.0: dependencies: '@npmcli/git': 6.0.1 '@npmcli/installed-package-contents': 3.0.0 @@ -8375,7 +8882,7 @@ snapshots: fs-minipass: 3.0.3 minipass: 7.1.2 npm-package-arg: 12.0.2 - npm-packlist: 10.0.0 + npm-packlist: 9.0.0 npm-pick-manifest: 10.0.0 npm-registry-fetch: 18.0.2 proc-log: 5.0.0 @@ -8403,7 +8910,7 @@ snapshots: parse-json@5.2.0: dependencies: - '@babel/code-frame': 7.25.9 + '@babel/code-frame': 7.26.2 error-ex: 1.3.2 json-parse-even-better-errors: 2.3.1 lines-and-columns: 1.2.4 @@ -8907,10 +9414,6 @@ snapshots: strnum@1.0.5: {} - supports-color@5.5.0: - dependencies: - has-flag: 3.0.0 - supports-color@7.2.0: dependencies: has-flag: 4.0.0 @@ -8986,6 +9489,10 @@ snapshots: tinyspy@3.0.2: {} + tmp@0.0.33: + dependencies: + os-tmpdir: 1.0.2 + to-regex-range@5.0.1: dependencies: is-number: 7.0.0 @@ -9046,6 +9553,8 @@ snapshots: dependencies: prelude-ls: 1.2.1 + type-fest@0.21.3: {} + type-fest@0.6.0: {} type-fest@0.8.1: {} @@ -9283,7 +9792,7 @@ snapshots: vscode-uri@3.0.8: {} - walk-up-path@4.0.0: {} + walk-up-path@3.0.1: {} web-streams-polyfill@3.3.3: {} @@ -9376,6 +9885,12 @@ snapshots: word-wrap@1.2.5: {} + wrap-ansi@6.2.0: + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi@7.0.0: dependencies: ansi-styles: 4.3.0 @@ -9441,4 +9956,6 @@ snapshots: yocto-queue@1.1.1: {} + yoctocolors-cjs@2.1.2: {} + zod@3.23.8: {} From 32dfd8fac1286db85ac0736a4605387224aab76e Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 6 Mar 2025 05:55:23 +0000 Subject: [PATCH 2/6] Regenerate for typespec-python (2025-03-06 05:55:23) --- .../authentication/apikey/_serialization.py | 2 +- .../authentication/apikey/models/_models.py | 2 - .../http/custom/_serialization.py | 2 +- .../http/custom/models/_models.py | 2 - .../authentication/oauth2/_serialization.py | 2 +- .../authentication/oauth2/models/_models.py | 2 - .../authentication/union/_serialization.py | 2 +- .../core/access/_serialization.py | 2 +- .../core/access/models/_models.py | 11 - .../core/flattenproperty/_serialization.py | 2 +- .../core/flattenproperty/models/_models.py | 4 - .../core/usage/_serialization.py | 2 +- .../core/usage/models/_models.py | 8 - .../specs/azure/core/basic/_serialization.py | 2 +- .../specs/azure/core/basic/models/_models.py | 7 - .../azure/core/lro/standard/_serialization.py | 2 +- .../azure/core/lro/standard/models/_models.py | 4 - .../specs/azure/core/model/_serialization.py | 2 +- .../specs/azure/core/model/models/_models.py | 1 - .../specs/azure/core/page/_serialization.py | 2 +- .../specs/azure/core/page/models/_models.py | 14 - .../specs/azure/core/scalar/_serialization.py | 2 +- .../specs/azure/core/scalar/models/_models.py | 1 - .../specs/azure/core/traits/_serialization.py | 2 +- .../specs/azure/core/traits/models/_models.py | 6 - .../azure/example/basic/_serialization.py | 2 +- .../azure/example/basic/models/_models.py | 3 - .../azure/payload/pageable/_serialization.py | 2 +- .../azure/payload/pageable/models/_models.py | 1 - .../commonproperties/_serialization.py | 2 +- .../commonproperties/models/_models.py | 20 - .../operationtemplates/_serialization.py | 2 +- .../operationtemplates/models/_models.py | 21 - .../resources/_serialization.py | 2 +- .../resources/models/_models.py | 37 -- .../xmsclientrequestid/_serialization.py | 2 +- .../azurecore/lro/rpc/_serialization.py | 2 +- .../azurecore/lro/rpc/models/_models.py | 3 - .../client/clientnamespace/_serialization.py | 2 +- .../clientnamespace/first/models/_models.py | 1 - .../clientnamespace/second/models/_models.py | 1 - .../client/naming/_serialization.py | 2 +- .../client/naming/models/_models.py | 10 - .../structure/service/_serialization.py | 2 +- .../structure/multiclient/_serialization.py | 2 +- .../renamedoperation/_serialization.py | 2 +- .../twooperationgroup/_serialization.py | 2 +- .../encode/bytes/_serialization.py | 2 +- .../encode/bytes/models/_models.py | 4 - .../encode/datetime/_serialization.py | 2 +- .../encode/datetime/models/_models.py | 5 - .../encode/duration/_serialization.py | 2 +- .../encode/duration/models/_models.py | 6 - .../encode/numeric/_serialization.py | 2 +- .../encode/numeric/models/_models.py | 2 - .../headasbooleanfalse/_serialization.py | 2 +- .../headasbooleanfalse/models/_models.py | 5 - .../headasbooleantrue/_serialization.py | 2 +- .../headasbooleantrue/models/_models.py | 5 - .../parameters/basic/_serialization.py | 2 +- .../parameters/basic/models/_models.py | 2 - .../bodyoptionality/_serialization.py | 2 +- .../bodyoptionality/models/_models.py | 2 - .../collectionformat/_serialization.py | 2 +- .../parameters/spread/_serialization.py | 2 +- .../parameters/spread/models/_models.py | 2 - .../contentnegotiation/_serialization.py | 2 +- .../contentnegotiation/models/_models.py | 1 - .../payload/jsonmergepatch/_serialization.py | 2 +- .../payload/jsonmergepatch/models/_models.py | 1 - .../payload/mediatype/_serialization.py | 2 +- .../payload/multipart/_serialization.py | 2 +- .../payload/multipart/models/_models.py | 22 - ...ble_server_driven_pagination_operations.py | 36 ++ ...rver_driven_pagination_operations_async.py | 36 ++ .../payload/pageable/_serialization.py | 2 +- .../pageable/aio/operations/_operations.py | 354 ++++++++++++- .../payload/pageable/models/_models.py | 1 - .../pageable/operations/_operations.py | 447 +++++++++++++++++ .../payload-xml/payload/xml/_serialization.py | 2 +- .../payload-xml/payload/xml/models/_models.py | 12 - .../resiliency/srv/driven1/_serialization.py | 2 +- .../resiliency/srv/driven2/_serialization.py | 2 +- .../statuscoderange/_serialization.py | 2 +- .../statuscoderange/models/_models.py | 8 - .../generated/routes/routes/_serialization.py | 2 +- .../encodedname/json/_serialization.py | 2 +- .../encodedname/json/models/_models.py | 1 - .../endpoint/notdefined/_serialization.py | 2 +- .../server/path/multiple/_serialization.py | 2 +- .../server/path/single/_serialization.py | 2 +- .../versions/notversioned/_serialization.py | 2 +- .../versions/versioned/_serialization.py | 2 +- .../conditionalrequest/_serialization.py | 2 +- .../repeatability/_serialization.py | 2 +- .../specialwords/_serialization.py | 2 +- .../specialwords/models/_models.py | 69 --- .../typetest/array/_serialization.py | 2 +- .../typetest/array/models/_models.py | 1 - .../typetest/dictionary/_serialization.py | 2 +- .../typetest/dictionary/models/_models.py | 1 - .../enum/extensible/_serialization.py | 2 +- .../typetest/enum/fixed/_serialization.py | 2 +- .../typetest/model/empty/_serialization.py | 2 +- .../model/enumdiscriminator/_serialization.py | 2 +- .../model/enumdiscriminator/models/_models.py | 4 - .../nesteddiscriminator/_serialization.py | 2 +- .../nesteddiscriminator/models/_models.py | 5 - .../model/notdiscriminated/_serialization.py | 2 +- .../model/notdiscriminated/models/_models.py | 3 - .../model/recursive/_serialization.py | 2 +- .../model/recursive/models/_models.py | 1 - .../singlediscriminator/_serialization.py | 2 +- .../singlediscriminator/models/_models.py | 7 - .../typetest/model/usage/_serialization.py | 2 +- .../typetest/model/usage/models/_models.py | 4 - .../model/visibility/_serialization.py | 2 +- .../model/visibility/models/_models.py | 5 - .../additionalproperties/_serialization.py | 2 +- .../additionalproperties/models/_models.py | 44 -- .../property/nullable/_serialization.py | 2 +- .../property/nullable/models/_models.py | 8 - .../property/optional/_serialization.py | 2 +- .../property/optional/models/_models.py | 1 - .../property/valuetypes/_serialization.py | 2 +- .../property/valuetypes/models/_models.py | 37 -- .../typetest/scalar/_serialization.py | 2 +- .../typetest/union/_serialization.py | 2 +- .../typetest/union/models/_models.py | 16 - .../versioning/added/_serialization.py | 2 +- .../versioning/added/models/_models.py | 2 - .../versioning/madeoptional/_serialization.py | 2 +- .../versioning/madeoptional/models/_models.py | 1 - .../versioning/removed/_serialization.py | 2 +- .../versioning/removed/models/_models.py | 2 - .../versioning/renamedfrom/_serialization.py | 2 +- .../versioning/renamedfrom/models/_models.py | 1 - .../returntypechangedfrom/_serialization.py | 2 +- .../typechangedfrom/_serialization.py | 2 +- .../typechangedfrom/models/_models.py | 1 - .../authentication/apikey/_serialization.py | 2 +- .../authentication/apikey/models/_models.py | 2 - .../http/custom/_serialization.py | 2 +- .../http/custom/models/_models.py | 2 - .../authentication/oauth2/_serialization.py | 2 +- .../authentication/oauth2/models/_models.py | 2 - .../authentication/union/_serialization.py | 2 +- .../encode/bytes/_serialization.py | 2 +- .../encode/bytes/models/_models.py | 4 - .../encode/datetime/_serialization.py | 2 +- .../encode/datetime/models/_models.py | 5 - .../encode/duration/_serialization.py | 2 +- .../duration/property/models/_models.py | 6 - .../encode/numeric/_serialization.py | 2 +- .../encode/numeric/property/models/_models.py | 2 - .../headasbooleanfalse/_serialization.py | 2 +- .../headasbooleanfalse/models/_models.py | 5 - .../headasbooleantrue/_serialization.py | 2 +- .../headasbooleantrue/models/_models.py | 5 - .../parameters/basic/_serialization.py | 2 +- .../basic/explicitbody/models/_models.py | 2 - .../bodyoptionality/_serialization.py | 2 +- .../bodyoptionality/models/_models.py | 2 - .../collectionformat/_serialization.py | 2 +- .../parameters/spread/_serialization.py | 2 +- .../parameters/spread/model/models/_models.py | 2 - .../contentnegotiation/_serialization.py | 2 +- .../differentbody/models/_models.py | 1 - .../payload/jsonmergepatch/_serialization.py | 2 +- .../payload/jsonmergepatch/models/_models.py | 1 - .../payload/mediatype/_serialization.py | 2 +- .../payload/multipart/_serialization.py | 2 +- .../httpparts/nonstring/models/_models.py | 2 - .../payload/multipart/models/_models.py | 20 - .../payload/pageable/_serialization.py | 2 +- .../payload/pageable/models/_models.py | 1 - .../aio/operations/_operations.py | 5 + .../continuationtoken/__init__.py | 1 + .../continuationtoken/aio/__init__.py | 1 + .../aio/operations/__init__.py | 22 + .../aio/operations/_operations.py | 370 ++++++++++++++ .../aio/operations/_patch.py | 20 + .../continuationtoken/operations/__init__.py | 22 + .../operations/_operations.py | 469 ++++++++++++++++++ .../continuationtoken/operations/_patch.py | 20 + .../operations/_operations.py | 5 + .../payload-xml/payload/xml/_serialization.py | 2 +- .../payload-xml/payload/xml/models/_models.py | 12 - .../statuscoderange/_serialization.py | 2 +- .../statuscoderange/models/_models.py | 8 - .../generated/routes/routes/_serialization.py | 2 +- .../encodedname/json/_serialization.py | 2 +- .../json/property/models/_models.py | 1 - .../endpoint/notdefined/_serialization.py | 2 +- .../server/path/multiple/_serialization.py | 2 +- .../server/path/single/_serialization.py | 2 +- .../versions/notversioned/_serialization.py | 2 +- .../versions/versioned/_serialization.py | 2 +- .../conditionalrequest/_serialization.py | 2 +- .../repeatability/_serialization.py | 2 +- .../specialwords/_serialization.py | 2 +- .../modelproperties/models/_models.py | 2 - .../specialwords/models/models/_models.py | 67 --- .../typetest/array/_serialization.py | 2 +- .../typetest/array/models/_models.py | 1 - .../typetest/dictionary/_serialization.py | 2 +- .../typetest/dictionary/models/_models.py | 1 - .../enum/extensible/_serialization.py | 2 +- .../typetest/enum/fixed/_serialization.py | 2 +- .../typetest/model/empty/_serialization.py | 2 +- .../model/enumdiscriminator/_serialization.py | 2 +- .../model/enumdiscriminator/models/_models.py | 4 - .../nesteddiscriminator/_serialization.py | 2 +- .../nesteddiscriminator/models/_models.py | 5 - .../model/notdiscriminated/_serialization.py | 2 +- .../model/notdiscriminated/models/_models.py | 3 - .../model/recursive/_serialization.py | 2 +- .../model/recursive/models/_models.py | 1 - .../singlediscriminator/_serialization.py | 2 +- .../singlediscriminator/models/_models.py | 7 - .../typetest/model/usage/_serialization.py | 2 +- .../typetest/model/usage/models/_models.py | 4 - .../model/visibility/_serialization.py | 2 +- .../model/visibility/models/_models.py | 5 - .../additionalproperties/_serialization.py | 2 +- .../additionalproperties/models/_models.py | 44 -- .../property/nullable/_serialization.py | 2 +- .../property/nullable/models/_models.py | 8 - .../property/optional/_serialization.py | 2 +- .../property/optional/models/_models.py | 1 - .../property/valuetypes/_serialization.py | 2 +- .../property/valuetypes/models/_models.py | 37 -- .../typetest/scalar/_serialization.py | 2 +- .../typetest/union/_serialization.py | 2 +- .../typetest/union/models/_models.py | 16 - .../versioning/added/_serialization.py | 2 +- .../versioning/added/models/_models.py | 2 - .../versioning/madeoptional/_serialization.py | 2 +- .../versioning/madeoptional/models/_models.py | 1 - .../versioning/removed/_serialization.py | 2 +- .../versioning/removed/models/_models.py | 2 - .../versioning/renamedfrom/_serialization.py | 2 +- .../versioning/renamedfrom/models/_models.py | 1 - .../returntypechangedfrom/_serialization.py | 2 +- .../typechangedfrom/_serialization.py | 2 +- .../typechangedfrom/models/_models.py | 1 - 246 files changed, 1941 insertions(+), 884 deletions(-) create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/__init__.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/__init__.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_patch.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py create mode 100644 packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_patch.py diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py index 663d70a93cc..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py index 663d70a93cc..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py index 663d70a93cc..724a4800fa7 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py +++ b/packages/typespec-python/test/azure/generated/authentication-union/authentication/union/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py index 97448f831e2..73740de086a 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/_models.py @@ -23,7 +23,6 @@ class AbstractModel(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: RealModel - :ivar kind: Discriminator property for AbstractModel. Required. Default value is None. :vartype kind: str :ivar name: Required. @@ -58,7 +57,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BaseModel(_model_base.Model): """Used in internal operations, should be generated but not exported. - :ivar name: Required. :vartype name: str """ @@ -87,7 +85,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InnerModel(_model_base.Model): """Used in internal operations, should be generated but not exported. - :ivar name: Required. :vartype name: str """ @@ -116,7 +113,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InternalDecoratorModelInInternal(_model_base.Model): """Used in an internal operation, should be generated but not exported. - :ivar name: Required. :vartype name: str """ @@ -145,7 +141,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NoDecoratorModelInInternal(_model_base.Model): """Used in an internal operation, should be generated but not exported. - :ivar name: Required. :vartype name: str """ @@ -174,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NoDecoratorModelInPublic(_model_base.Model): """Used in a public operation, should be generated and exported. - :ivar name: Required. :vartype name: str """ @@ -203,7 +197,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OuterModel(BaseModel): """Used in internal operations, should be generated but not exported. - :ivar name: Required. :vartype name: str :ivar inner: Required. @@ -235,7 +228,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PublicDecoratorModelInInternal(_model_base.Model): """Used in an internal operation but with public decorator, should be generated and exported. - :ivar name: Required. :vartype name: str """ @@ -264,7 +256,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PublicDecoratorModelInPublic(_model_base.Model): """Used in a public operation, should be generated and exported. - :ivar name: Required. :vartype name: str """ @@ -293,7 +284,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RealModel(AbstractModel, discriminator="real"): """Used in internal operations, should be generated but not exported. - :ivar name: Required. :vartype name: str :ivar kind: Required. Default value is "real". @@ -324,7 +314,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SharedModel(_model_base.Model): """Used by both public and internal operation. It should be generated and exported. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py index 91759513031..c1cd8057f71 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/_models.py @@ -19,7 +19,6 @@ class ChildFlattenModel(_model_base.Model): """This is the child model to be flattened. And it has flattened property as well. - :ivar summary: Required. :vartype summary: str :ivar properties: Required. @@ -73,7 +72,6 @@ def __setattr__(self, key: str, value: Any) -> None: class ChildModel(_model_base.Model): """This is the child model to be flattened. - :ivar description: Required. :vartype description: str :ivar age: Required. @@ -107,7 +105,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FlattenModel(_model_base.Model): """This is the model with one level of flattening. - :ivar name: Required. :vartype name: str :ivar properties: Required. @@ -161,7 +158,6 @@ def __setattr__(self, key: str, value: Any) -> None: class NestedFlattenModel(_model_base.Model): """This is the model with two levels of flattening. - :ivar name: Required. :vartype name: str :ivar properties: Required. diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py index 340476bcbae..cbc58bcb8c7 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/_models.py @@ -19,7 +19,6 @@ class InputModel(_model_base.Model): """Usage override to roundtrip. - :ivar name: Required. :vartype name: str """ @@ -49,8 +48,6 @@ class OrphanModel(_model_base.Model): """Not used anywhere, but access is override to public so still need to be generated and exported with serialization. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -79,7 +76,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OutputModel(_model_base.Model): """Usage override to roundtrip. - :ivar name: Required. :vartype name: str """ @@ -108,7 +104,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ResultModel(_model_base.Model): """ResultModel. - :ivar name: Required. :vartype name: str """ @@ -137,9 +132,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RoundTripModel(_model_base.Model): """RoundTripModel. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar result: Required. :vartype result: ~specs.azure.clientgenerator.core.usage.models.ResultModel """ diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py index 1584623698a..d0765992b9e 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/_models.py @@ -19,9 +19,6 @@ class User(_model_base.Model): """Details about a user. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The user's id. Required. :vartype id: int :ivar name: The user's name. Required. @@ -63,7 +60,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserList(_model_base.Model): """UserList. - :ivar users: Required. :vartype users: list[~specs.azure.core.basic.models.User] """ @@ -92,9 +88,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserOrder(_model_base.Model): """UserOrder for testing list with expand. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The user's id. Required. :vartype id: int :ivar user_id: The user's id. Required. diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py index a2b18c7aa46..5dc2ba3e241 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/_models.py @@ -16,7 +16,6 @@ class ExportedUser(_model_base.Model): """The exported user data. - :ivar name: The name of user. Required. :vartype name: str :ivar resource_uri: The exported URI. Required. @@ -50,9 +49,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class User(_model_base.Model): """Details about a user. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of user. Required. :vartype name: str :ivar role: The role of user. Required. diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py index 6eed6c4fadf..a6e7328c818 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/_models.py @@ -16,7 +16,6 @@ class AzureEmbeddingModel(_model_base.Model): """AzureEmbeddingModel. - :ivar embedding: Required. :vartype embedding: list[int] """ diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py index 9b707c6928f..ac2679648e5 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-page/specs/azure/core/page/models/_models.py @@ -19,9 +19,6 @@ class FirstItem(_model_base.Model): """First item. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The id of the item. Required. :vartype id: int """ @@ -33,8 +30,6 @@ class FirstItem(_model_base.Model): class ListItemInputBody(_model_base.Model): """The body of the input. - All required parameters must be populated in order to send to server. - :ivar input_name: The name of the input. Required. :vartype input_name: str """ @@ -63,9 +58,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SecondItem(_model_base.Model): """Second item. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar name: The name of the item. Required. :vartype name: str """ @@ -77,9 +69,6 @@ class SecondItem(_model_base.Model): class User(_model_base.Model): """Details about a user. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The user's id. Required. :vartype id: int :ivar name: The user's name. Required. @@ -121,9 +110,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserOrder(_model_base.Model): """UserOrder for testing list with expand. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The user's id. Required. :vartype id: int :ivar user_id: The user's id. Required. diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py index 220989dab89..f8b6fba7815 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/_models.py @@ -16,7 +16,6 @@ class AzureLocationModel(_model_base.Model): """AzureLocationModel. - :ivar location: Required. :vartype location: str """ diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py index da83da066df..5b4bb12d34a 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-core-traits/specs/azure/core/traits/models/_models.py @@ -16,9 +16,6 @@ class User(_model_base.Model): """Sample Model. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: The user's id. Required. :vartype id: int :ivar name: The user's name. @@ -51,8 +48,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserActionParam(_model_base.Model): """User action param. - All required parameters must be populated in order to send to server. - :ivar user_action_value: User action value. Required. :vartype user_action_value: str """ @@ -83,7 +78,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserActionResponse(_model_base.Model): """User action response. - :ivar user_action_result: User action result. Required. :vartype user_action_result: str """ diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py index 75081a63549..37203ba9955 100644 --- a/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-example-basic/specs/azure/example/basic/models/_models.py @@ -19,8 +19,6 @@ class ActionRequest(_model_base.Model): """ActionRequest. - All required parameters must be populated in order to send to server. - :ivar string_property: Required. :vartype string_property: str :ivar model_property: @@ -67,7 +65,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ActionResponse(_model_base.Model): """ActionResponse. - :ivar string_property: Required. :vartype string_property: str :ivar model_property: diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py index fdff1eb60ea..308fc7b4730 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/_models.py @@ -16,7 +16,6 @@ class User(_model_base.Model): """User model. - :ivar name: User name. Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py index 25b335a7f16..649ebe3f744 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-common-properties/azure/resourcemanager/commonproperties/models/_models.py @@ -21,8 +21,6 @@ class ErrorAdditionalInfo(_model_base.Model): """The resource management error additional info. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. @@ -38,8 +36,6 @@ class ErrorAdditionalInfo(_model_base.Model): class ErrorDetail(_model_base.Model): """The error detail. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar code: The error code. :vartype code: str :ivar message: The error message. @@ -99,8 +95,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Resource(_model_base.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -130,9 +124,6 @@ class TrackedResource(Resource): """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -178,9 +169,6 @@ class ManagedIdentityTrackedResource(TrackedResource): """Concrete tracked resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -236,9 +224,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ManagedIdentityTrackedResourceProperties(_model_base.Model): """Managed Identity Arm Resource Properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar provisioning_state: The status of the last operation. Required. :vartype provisioning_state: str """ @@ -250,9 +235,6 @@ class ManagedIdentityTrackedResourceProperties(_model_base.Model): class ManagedServiceIdentity(_model_base.Model): """Managed service identity (system assigned and/or user assigned identities). - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar principal_id: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity. :vartype principal_id: str @@ -373,8 +355,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UserAssignedIdentity(_model_base.Model): """User assigned identity properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar client_id: The client ID of the assigned identity. :vartype client_id: str :ivar principal_id: The principal ID of the assigned identity. diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py index f17f322e42e..43fed9e0a8f 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-operation-templates/azure/resourcemanager/operationtemplates/models/_models.py @@ -99,8 +99,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ErrorAdditionalInfo(_model_base.Model): """The resource management error additional info. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. @@ -116,8 +114,6 @@ class ErrorAdditionalInfo(_model_base.Model): class ErrorDetail(_model_base.Model): """The error detail. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar code: The error code. :vartype code: str :ivar message: The error message. @@ -177,8 +173,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExportRequest(_model_base.Model): """ExportRequest. - All required parameters must be populated in order to send to server. - :ivar format: Format of the exported order. Required. :vartype format: str """ @@ -207,8 +201,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Operation(_model_base.Model): """Details of a REST API operation, returned from the Resource Provider Operations API. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar name: The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action". :vartype name: str @@ -266,8 +258,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OperationDisplay(_model_base.Model): """Localized display information for and operation. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar provider: The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute". :vartype provider: str @@ -299,8 +289,6 @@ class OperationDisplay(_model_base.Model): class Resource(_model_base.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -330,9 +318,6 @@ class TrackedResource(Resource): """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -378,9 +363,6 @@ class Order(TrackedResource): """Concrete tracked resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -428,9 +410,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OrderProperties(_model_base.Model): """OrderProperties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar product_id: The product ID of the order. Required. :vartype product_id: str :ivar amount: Amount of the product. Required. diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py index 1e6a9f671ea..d62bd322a1d 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-resources/azure/resourcemanager/resources/models/_models.py @@ -21,8 +21,6 @@ class ErrorAdditionalInfo(_model_base.Model): """The resource management error additional info. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar type: The additional info type. :vartype type: str :ivar info: The additional info. @@ -38,8 +36,6 @@ class ErrorAdditionalInfo(_model_base.Model): class ErrorDetail(_model_base.Model): """The error detail. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar code: The error code. :vartype code: str :ivar message: The error message. @@ -98,8 +94,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Resource(_model_base.Model): """Common fields that are returned in the response for all Azure Resource Manager resources. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -128,8 +122,6 @@ class Resource(_model_base.Model): class ExtensionResource(Resource): """The base extension resource. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -148,8 +140,6 @@ class ExtensionsResource(ExtensionResource): """Concrete extension resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -191,8 +181,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtensionsResourceProperties(_model_base.Model): """ExtensionsResource properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar description: The description of the resource. :vartype description: str :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -230,8 +218,6 @@ class ProxyResource(Resource): """The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -250,8 +236,6 @@ class LocationResource(ProxyResource): """Concrete proxy resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -293,8 +277,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class LocationResourceProperties(_model_base.Model): """Location resource properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar description: The description of the resource. :vartype description: str :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", @@ -331,8 +313,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NestedProxyResource(ProxyResource): """Nested child of Top Level Tracked Resource. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -374,8 +354,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NestedProxyResourceProperties(_model_base.Model): """Nested Proxy Resource Properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar provisioning_state: Provisioning State of the nested child Resource. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState @@ -412,8 +390,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NotificationDetails(_model_base.Model): """The details of a user notification. - All required parameters must be populated in order to send to server. - :ivar message: The notification message. Required. :vartype message: str :ivar urgent: If true, the notification is urgent. Required. @@ -448,9 +424,6 @@ class TrackedResource(Resource): """The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -496,9 +469,6 @@ class SingletonTrackedResource(TrackedResource): """Concrete tracked resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -546,8 +516,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SingletonTrackedResourceProperties(_model_base.Model): """Singleton Arm Resource Properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState @@ -652,9 +620,6 @@ class TopLevelTrackedResource(TrackedResource): """Concrete tracked resource types can be created by aliasing this type using a specific property type. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar id: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. :vartype id: str @@ -702,8 +667,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class TopLevelTrackedResourceProperties(_model_base.Model): """Top Level Arm Resource Properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar provisioning_state: The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Provisioning", "Updating", "Deleting", and "Accepted". :vartype provisioning_state: str or ~azure.resourcemanager.resources.models.ProvisioningState diff --git a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azure-special-headers-client-request-id/azure/specialheaders/xmsclientrequestid/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/_serialization.py b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/_serialization.py +++ b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/models/_models.py b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/models/_models.py index cd8108bd0eb..27c76591a96 100644 --- a/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/models/_models.py +++ b/packages/typespec-python/test/azure/generated/azurecore-lro-rpc/azurecore/lro/rpc/models/_models.py @@ -16,8 +16,6 @@ class GenerationOptions(_model_base.Model): """Options for the generation. - All required parameters must be populated in order to send to server. - :ivar prompt: Prompt. Required. :vartype prompt: str """ @@ -46,7 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GenerationResult(_model_base.Model): """Result of the generation. - :ivar data: The data. Required. :vartype data: str """ diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py index 21a7659cb2e..ec2edc6a21d 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/_models.py @@ -16,7 +16,6 @@ class FirstClientResult(_model_base.Model): """FirstClientResult. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py index e30b5d44c70..b7624ebb7f5 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/_models.py @@ -19,7 +19,6 @@ class SecondClientResult(_model_base.Model): """SecondClientResult. - :ivar type: Required. "second" :vartype type: str or ~client.clientnamespace.models.SecondClientEnumType """ diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py index c9a57530570..50f6302b0ee 100644 --- a/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py +++ b/packages/typespec-python/test/azure/generated/client-naming/client/naming/models/_models.py @@ -16,8 +16,6 @@ class ClientModel(_model_base.Model): """ClientModel. - All required parameters must be populated in order to send to server. - :ivar default_name: Pass in true. Required. :vartype default_name: bool """ @@ -46,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ClientNameAndJsonEncodedNameModel(_model_base.Model): """ClientNameAndJsonEncodedNameModel. - All required parameters must be populated in order to send to server. - :ivar client_name: Pass in true. Required. :vartype client_name: bool """ @@ -76,8 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ClientNameModel(_model_base.Model): """ClientNameModel. - All required parameters must be populated in order to send to server. - :ivar client_name: Pass in true. Required. :vartype client_name: bool """ @@ -106,8 +100,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class LanguageClientNameModel(_model_base.Model): """LanguageClientNameModel. - All required parameters must be populated in order to send to server. - :ivar python_name: Pass in true. Required. :vartype python_name: bool """ @@ -136,8 +128,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PythonModel(_model_base.Model): """PythonModel. - All required parameters must be populated in order to send to server. - :ivar default_name: Pass in true. Required. :vartype default_name: bool """ diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py index ab114ce0bd8..d8c71dd68fe 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/_models.py @@ -16,7 +16,6 @@ class Base64BytesProperty(_model_base.Model): """Base64BytesProperty. - :ivar value: Required. :vartype value: bytes """ @@ -45,7 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Base64urlArrayBytesProperty(_model_base.Model): """Base64urlArrayBytesProperty. - :ivar value: Required. :vartype value: list[bytes] """ @@ -74,7 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Base64urlBytesProperty(_model_base.Model): """Base64urlBytesProperty. - :ivar value: Required. :vartype value: bytes """ @@ -103,7 +100,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DefaultBytesProperty(_model_base.Model): """DefaultBytesProperty. - :ivar value: Required. :vartype value: bytes """ diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py index da2a9d47fff..9d59dcf05a9 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/_models.py @@ -17,7 +17,6 @@ class DefaultDatetimeProperty(_model_base.Model): """DefaultDatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -46,7 +45,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Rfc3339DatetimeProperty(_model_base.Model): """Rfc3339DatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -75,7 +73,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Rfc7231DatetimeProperty(_model_base.Model): """Rfc7231DatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -104,7 +101,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnixTimestampArrayDatetimeProperty(_model_base.Model): """UnixTimestampArrayDatetimeProperty. - :ivar value: Required. :vartype value: list[~datetime.datetime] """ @@ -135,7 +131,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnixTimestampDatetimeProperty(_model_base.Model): """UnixTimestampDatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py index c25c5f486e4..a55bf7e46c4 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/_models.py @@ -17,7 +17,6 @@ class DefaultDurationProperty(_model_base.Model): """DefaultDurationProperty. - :ivar value: Required. :vartype value: ~datetime.timedelta """ @@ -46,7 +45,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Float64SecondsDurationProperty(_model_base.Model): """Float64SecondsDurationProperty. - :ivar value: Required. :vartype value: float """ @@ -75,7 +73,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatSecondsDurationArrayProperty(_model_base.Model): """FloatSecondsDurationArrayProperty. - :ivar value: Required. :vartype value: list[float] """ @@ -104,7 +101,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatSecondsDurationProperty(_model_base.Model): """FloatSecondsDurationProperty. - :ivar value: Required. :vartype value: float """ @@ -133,7 +129,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Int32SecondsDurationProperty(_model_base.Model): """Int32SecondsDurationProperty. - :ivar value: Required. :vartype value: int """ @@ -162,7 +157,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ISO8601DurationProperty(_model_base.Model): """ISO8601DurationProperty. - :ivar value: Required. :vartype value: ~datetime.timedelta """ diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py index d4be043156f..91af13a3300 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/_models.py @@ -16,7 +16,6 @@ class SafeintAsStringProperty(_model_base.Model): """SafeintAsStringProperty. - :ivar value: Required. :vartype value: int """ @@ -72,7 +71,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Uint8AsStringProperty(_model_base.Model): """Uint8AsStringProperty. - :ivar value: Required. :vartype value: int """ diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py index b0c9e81c3a7..b84093776e1 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py index b0c9e81c3a7..b84093776e1 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py index 2041cdc608a..b068e5f17f7 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/_models.py @@ -16,8 +16,6 @@ class User(_model_base.Model): """This is a simple model. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py index dea844ad41e..40935f73403 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py @@ -16,8 +16,6 @@ class BodyModel(_model_base.Model): """BodyModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-collection-format/parameters/collectionformat/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py index ed9316a17cc..bce4236681e 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/_models.py @@ -16,8 +16,6 @@ class BodyParameter(_model_base.Model): """This is a simple model. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py index c0b9321dfcd..872fb18c037 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/_models.py @@ -16,7 +16,6 @@ class PngImageAsJson(_model_base.Model): """PngImageAsJson. - :ivar content: Required. :vartype content: bytes """ diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py index 5a695012117..6257fe5d464 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py @@ -50,7 +50,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Resource(_model_base.Model): """Details about a resource. - :ivar name: Required. :vartype name: str :ivar description: diff --git a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-media-type/payload/mediatype/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py index 83fb5e120d4..ce3efa2d35e 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/_models.py @@ -20,8 +20,6 @@ class Address(_model_base.Model): """Address. - All required parameters must be populated in order to send to server. - :ivar city: Required. :vartype city: str """ @@ -50,8 +48,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BinaryArrayPartsRequest(_model_base.Model): """BinaryArrayPartsRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar pictures: Required. @@ -87,8 +83,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ComplexHttpPartsModelRequest(_model_base.Model): """ComplexHttpPartsModelRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar address: Required. @@ -143,8 +137,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ComplexPartsRequest(_model_base.Model): """ComplexPartsRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar address: Required. @@ -192,8 +184,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartOptionalContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartOptionalContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -224,8 +214,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartRequiredContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartRequiredContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -256,8 +244,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartSpecificContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartSpecificContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -288,8 +274,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatRequest(_model_base.Model): """FloatRequest. - All required parameters must be populated in order to send to server. - :ivar temperature: Required. :vartype temperature: float """ @@ -318,8 +302,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class JsonPartRequest(_model_base.Model): """JsonPartRequest. - All required parameters must be populated in order to send to server. - :ivar address: Required. :vartype address: ~payload.multipart.models.Address :ivar profile_image: Required. @@ -355,8 +337,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultiBinaryPartsRequest(_model_base.Model): """MultiBinaryPartsRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType :ivar picture: @@ -393,8 +373,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultiPartRequest(_model_base.Model): """MultiPartRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar profile_image: Required. diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py index 03c7fd88dc7..923a4b226a2 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations.py @@ -20,3 +20,39 @@ def test_server_driven_pagination_link(self, pageable_endpoint): result = [r for r in response] # please add some check logic here by yourself # ... + + @PageablePreparer() + @recorded_by_proxy + def test_server_driven_pagination_continuation_token_request_query_response_body(self, pageable_endpoint): + client = self.create_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_query_response_body() + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy + def test_server_driven_pagination_continuation_token_request_header_response_body(self, pageable_endpoint): + client = self.create_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_header_response_body() + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy + def test_server_driven_pagination_continuation_token_request_query_response_header(self, pageable_endpoint): + client = self.create_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_query_response_header() + result = [r for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy + def test_server_driven_pagination_continuation_token_request_header_response_header(self, pageable_endpoint): + client = self.create_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_header_response_header() + result = [r for r in response] + # please add some check logic here by yourself + # ... diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py index c170d111040..568cec3409b 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/generated_tests/test_pageable_server_driven_pagination_operations_async.py @@ -21,3 +21,39 @@ async def test_server_driven_pagination_link(self, pageable_endpoint): result = [r async for r in response] # please add some check logic here by yourself # ... + + @PageablePreparer() + @recorded_by_proxy_async + async def test_server_driven_pagination_continuation_token_request_query_response_body(self, pageable_endpoint): + client = self.create_async_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_query_response_body() + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy_async + async def test_server_driven_pagination_continuation_token_request_header_response_body(self, pageable_endpoint): + client = self.create_async_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_header_response_body() + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy_async + async def test_server_driven_pagination_continuation_token_request_query_response_header(self, pageable_endpoint): + client = self.create_async_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_query_response_header() + result = [r async for r in response] + # please add some check logic here by yourself + # ... + + @PageablePreparer() + @recorded_by_proxy_async + async def test_server_driven_pagination_continuation_token_request_header_response_header(self, pageable_endpoint): + client = self.create_async_client(endpoint=pageable_endpoint) + response = client.server_driven_pagination.continuation_token.request_header_response_header() + result = [r async for r in response] + # please add some check logic here by yourself + # ... diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/operations/_operations.py index 235cb7c6601..ddda8102545 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/aio/operations/_operations.py @@ -25,7 +25,13 @@ from ... import models as _models from ..._model_base import _deserialize from ..._serialization import Deserializer, Serializer -from ...operations._operations import build_server_driven_pagination_link_request +from ...operations._operations import ( + build_server_driven_pagination_continuation_token_request_header_response_body_request, + build_server_driven_pagination_continuation_token_request_header_response_header_request, + build_server_driven_pagination_continuation_token_request_query_response_body_request, + build_server_driven_pagination_continuation_token_request_query_response_header_request, + build_server_driven_pagination_link_request, +) from .._configuration import PageableClientConfiguration if sys.version_info >= (3, 9): @@ -53,6 +59,10 @@ def __init__(self, *args, **kwargs) -> None: self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + self.continuation_token = ServerDrivenPaginationContinuationTokenOperations( + self._client, self._config, self._serialize, self._deserialize + ) + @distributed_trace def link(self, **kwargs: Any) -> AsyncIterable["_models.Pet"]: """link. @@ -122,3 +132,345 @@ async def get_next(next_link=None): return pipeline_response return AsyncItemPaged(get_next, extract_data) + + +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~payload.pageable.aio.PageableClient`'s + :attr:`continuation_token` attribute. + """ + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") + self._config: PageableClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + @distributed_trace + def request_query_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models.Pet"]: + """request_query_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.async_paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + @distributed_trace + def request_header_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models.Pet"]: + """request_header_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.async_paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + @distributed_trace + def request_query_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models.Pet"]: + """request_query_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.async_paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + @distributed_trace + def request_header_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models.Pet"]: + """request_header_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.async_paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py index 5a96341e82b..0bdafff4dcc 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/_models.py @@ -16,7 +16,6 @@ class Pet(_model_base.Model): """Pet. - :ivar id: Required. :vartype id: str :ivar name: Required. diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/operations/_operations.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/operations/_operations.py index 0caf9d5ebbe..1e35a00664c 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/operations/_operations.py @@ -1,3 +1,4 @@ +# pylint: disable=line-too-long,useless-suppression # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -53,6 +54,106 @@ def build_server_driven_pagination_link_request(**kwargs: Any) -> HttpRequest: return HttpRequest(method="GET", url=_url, headers=_headers, **kwargs) +def build_server_driven_pagination_continuation_token_request_query_response_body_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-query-response-body" + + # Construct parameters + if token is not None: + _params["token"] = _SERIALIZER.query("token", token, "str") + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_header_response_body_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-header-response-body" + + # Construct parameters + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if token is not None: + _headers["token"] = _SERIALIZER.header("token", token, "str") + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_query_response_header_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-query-response-header" + + # Construct parameters + if token is not None: + _params["token"] = _SERIALIZER.query("token", token, "str") + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_header_response_header_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-header-response-header" + + # Construct parameters + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if token is not None: + _headers["token"] = _SERIALIZER.header("token", token, "str") + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + class ServerDrivenPaginationOperations: """ .. warning:: @@ -70,6 +171,10 @@ def __init__(self, *args, **kwargs): self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + self.continuation_token = ServerDrivenPaginationContinuationTokenOperations( + self._client, self._config, self._serialize, self._deserialize + ) + @distributed_trace def link(self, **kwargs: Any) -> Iterable["_models.Pet"]: """link. @@ -139,3 +244,345 @@ def get_next(next_link=None): return pipeline_response return ItemPaged(get_next, extract_data) + + +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~payload.pageable.PageableClient`'s + :attr:`continuation_token` attribute. + """ + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") + self._config: PageableClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + @distributed_trace + def request_query_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models.Pet"]: + """request_query_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + @distributed_trace + def request_header_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models.Pet"]: + """request_header_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + @distributed_trace + def request_query_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models.Pet"]: + """request_query_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + @distributed_trace + def request_header_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models.Pet"]: + """request_header_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~azure.core.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~azure.core.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client._pipeline.run( # pylint: disable=protected-access + _request, stream=_stream, **kwargs + ) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py index bd4c3b2aa6a..25fc1866be4 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/_models.py @@ -19,7 +19,6 @@ class ModelWithArrayOfModel(_model_base.Model): """Contains an array of models. - :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel """ @@ -54,7 +53,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithAttributes(_model_base.Model): """Contains fields that are XML attributes. - :ivar id1: Required. :vartype id1: int :ivar id2: Required. @@ -104,7 +102,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithDictionary(_model_base.Model): """Contains a dictionary of key value pairs. - :ivar metadata: Required. :vartype metadata: dict[str, str] """ @@ -138,7 +135,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithEmptyArray(_model_base.Model): """Contains an array of models that's supposed to be sent/received as an empty XML element. - :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel """ @@ -173,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithEncodedNames(_model_base.Model): """Uses encodedName instead of Xml.Name which is functionally equivalent. - :ivar model_data: Required. :vartype model_data: ~payload.xml.models.SimpleModel :ivar colors: Required. @@ -216,7 +211,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithOptionalField(_model_base.Model): """Contains an optional field. - :ivar item: Required. :vartype item: str :ivar value: @@ -258,7 +252,6 @@ class ModelWithRenamedArrays(_model_base.Model): """Contains fields of wrapped and unwrapped arrays of primitive types that have different XML representations. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -300,7 +293,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithRenamedFields(_model_base.Model): """Contains fields of the same type that have different XML representation. - :ivar input_data: Required. :vartype input_data: ~payload.xml.models.SimpleModel :ivar output_data: Required. @@ -344,7 +336,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithSimpleArrays(_model_base.Model): """Contains fields of arrays of primitive types. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -386,7 +377,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithText(_model_base.Model): """Contains an attribute and text. - :ivar language: Required. :vartype language: str :ivar content: Required. @@ -428,7 +418,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithUnwrappedArray(_model_base.Model): """Contains fields of wrapped and unwrapped arrays of primitive types. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -470,7 +459,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SimpleModel(_model_base.Model): """Contains fields of primitive types. - :ivar name: Required. :vartype name: str :ivar age: Required. diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven1/resiliency/srv/driven1/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py +++ b/packages/typespec-python/test/azure/generated/resiliency-srv-driven2/resiliency/srv/driven2/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py index d177fa29452..e113572d890 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/_models.py @@ -16,8 +16,6 @@ class DefaultError(_model_base.Model): """DefaultError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str """ @@ -46,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ErrorInRange(_model_base.Model): """ErrorInRange. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str :ivar message: Required. @@ -81,8 +77,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NotFoundError(_model_base.Model): """NotFoundError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str :ivar resource_id: Required. @@ -116,8 +110,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Standard4XXError(_model_base.Model): """Standard4XXError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str """ diff --git a/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py b/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/routes/routes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py index 44e3161acf1..ee9a4c7d00a 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/_models.py @@ -16,7 +16,6 @@ class JsonEncodedNameModel(_model_base.Model): """JsonEncodedNameModel. - :ivar default_name: Pass in true. Required. :vartype default_name: bool """ diff --git a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-path-single/server/path/single/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py +++ b/packages/typespec-python/test/azure/generated/server-versions-versioned/server/versions/versioned/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py index 7d4c9090782..57c90b789f4 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/_models.py @@ -1,4 +1,3 @@ -# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. @@ -17,8 +16,6 @@ class AndModel(_model_base.Model): """AndModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -47,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AsModel(_model_base.Model): """AsModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -77,8 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AssertModel(_model_base.Model): """AssertModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -107,8 +100,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AsyncModel(_model_base.Model): """AsyncModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -137,8 +128,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AwaitModel(_model_base.Model): """AwaitModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -167,8 +156,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BreakModel(_model_base.Model): """BreakModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -197,8 +184,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ClassModel(_model_base.Model): """ClassModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -227,8 +212,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Constructor(_model_base.Model): """Constructor. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -257,8 +240,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ContinueModel(_model_base.Model): """ContinueModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -287,8 +268,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DefModel(_model_base.Model): """DefModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -317,8 +296,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DelModel(_model_base.Model): """DelModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -347,8 +324,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ElifModel(_model_base.Model): """ElifModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -377,8 +352,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ElseModel(_model_base.Model): """ElseModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -407,8 +380,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExceptModel(_model_base.Model): """ExceptModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -437,8 +408,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExecModel(_model_base.Model): """ExecModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -467,8 +436,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FinallyModel(_model_base.Model): """FinallyModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -497,8 +464,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ForModel(_model_base.Model): """ForModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -527,8 +492,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FromModel(_model_base.Model): """FromModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -557,8 +520,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GlobalModel(_model_base.Model): """GlobalModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -587,8 +548,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IfModel(_model_base.Model): """IfModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -617,8 +576,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ImportModel(_model_base.Model): """ImportModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -647,8 +604,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InModel(_model_base.Model): """InModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -677,8 +632,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModel(_model_base.Model): """IsModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -707,8 +660,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class LambdaModel(_model_base.Model): """LambdaModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -737,8 +688,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NotModel(_model_base.Model): """NotModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -767,8 +716,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OrModel(_model_base.Model): """OrModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -797,8 +744,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PassModel(_model_base.Model): """PassModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -827,8 +772,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RaiseModel(_model_base.Model): """RaiseModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -857,8 +800,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ReturnModel(_model_base.Model): """ReturnModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -887,8 +828,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SameAsModel(_model_base.Model): """SameAsModel. - All required parameters must be populated in order to send to server. - :ivar same_as_model: Required. :vartype same_as_model: str """ @@ -917,8 +856,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class TryModel(_model_base.Model): """TryModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -947,8 +884,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WhileModel(_model_base.Model): """WhileModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -977,8 +912,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WithModel(_model_base.Model): """WithModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -1007,8 +940,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class YieldModel(_model_base.Model): """YieldModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py index 3102e45483a..43c2e34c60c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/_models.py @@ -19,7 +19,6 @@ class InnerModel(_model_base.Model): """Array inner model. - :ivar property: Required string property. Required. :vartype property: str :ivar children: diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py index 92decb06661..223e0f75708 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/_models.py @@ -19,7 +19,6 @@ class InnerModel(_model_base.Model): """Dictionary inner model. - :ivar property: Required string property. Required. :vartype property: str :ivar children: diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py index 5b02cf7d100..1fe05d3dc0c 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py @@ -21,7 +21,6 @@ class Snake(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Cobra - :ivar kind: discriminator property. Required. "cobra" :vartype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind :ivar length: Length of the snake. Required. @@ -56,7 +55,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Cobra(Snake, discriminator="cobra"): """Cobra model. - :ivar length: Length of the snake. Required. :vartype length: int :ivar kind: discriminator property. Required. Species cobra @@ -90,7 +88,6 @@ class Dog(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Golden - :ivar kind: discriminator property. Required. "golden" :vartype kind: str or ~typetest.model.enumdiscriminator.models.DogKind :ivar weight: Weight of the dog. Required. @@ -125,7 +122,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Golden(Dog, discriminator="golden"): """Golden dog model. - :ivar weight: Weight of the dog. Required. :vartype weight: int :ivar kind: discriminator property. Required. Species golden diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py index ea670066171..28f21fdbba1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py @@ -23,7 +23,6 @@ class Fish(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Salmon, Shark - :ivar kind: Discriminator property for Fish. Required. Default value is None. :vartype kind: str :ivar age: Required. @@ -62,7 +61,6 @@ class Shark(Fish, discriminator="shark"): You probably want to use the sub-classes and not this class directly. Known sub-classes are: GoblinShark, SawShark - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". @@ -99,7 +97,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GoblinShark(Shark, discriminator="goblin"): """The third level model GoblinShark in polymorphic multiple levels inheritance. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". @@ -134,7 +131,6 @@ class Salmon(Fish, discriminator="salmon"): """The second level model in polymorphic multiple levels inheritance which contains references to other polymorphic instances. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "salmon". @@ -177,7 +173,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SawShark(Shark, discriminator="saw"): """The third level model SawShark in polymorphic multiple levels inheritance. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py index 18164a50480..b605546e929 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py @@ -16,7 +16,6 @@ class Pet(_model_base.Model): """This is base model for not-discriminated normal multiple levels inheritance. - :ivar name: Required. :vartype name: str """ @@ -45,7 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Cat(Pet): """The second level model in the normal multiple levels inheritance. - :ivar name: Required. :vartype name: str :ivar age: Required. @@ -77,7 +75,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Siamese(Cat): """The third level model in the normal multiple levels inheritance. - :ivar name: Required. :vartype name: str :ivar age: Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py index 0910dc67bd5..0e47753623f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py @@ -48,7 +48,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Extension(Element): """extension. - :ivar extension: :vartype extension: list[~typetest.model.recursive.models.Extension] :ivar level: Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py index 395bd8fb438..8c8631c8c53 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py @@ -23,7 +23,6 @@ class Bird(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Eagle, Goose, SeaGull, Sparrow - :ivar kind: Required. Default value is None. :vartype kind: str :ivar wingspan: Required. @@ -62,7 +61,6 @@ class Dinosaur(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: TRex - :ivar kind: Discriminator property for Dinosaur. Required. Default value is None. :vartype kind: str :ivar size: Required. @@ -98,7 +96,6 @@ class Eagle(Bird, discriminator="eagle"): """The second level model in polymorphic single levels inheritance which contains references to other polymorphic instances. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "eagle". @@ -141,7 +138,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Goose(Bird, discriminator="goose"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "goose". @@ -172,7 +168,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SeaGull(Bird, discriminator="seagull"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "seagull". @@ -203,7 +198,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Sparrow(Bird, discriminator="sparrow"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". @@ -234,7 +228,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class TRex(Dinosaur, discriminator="t-rex"): """The second level legacy model in polymorphic single level inheritance. - :ivar size: Required. :vartype size: int :ivar kind: Required. Default value is "t-rex". diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py index f8134e8b9be..70a57c40426 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/_models.py @@ -16,7 +16,6 @@ class InputOutputRecord(_model_base.Model): """Record used both as operation parameter and return type. - :ivar required_prop: Required. :vartype required_prop: str """ @@ -45,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InputRecord(_model_base.Model): """Record used in operation parameters. - All required parameters must be populated in order to send to server. - :ivar required_prop: Required. :vartype required_prop: str """ @@ -75,7 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OutputRecord(_model_base.Model): """Record used in operation return type. - :ivar required_prop: Required. :vartype required_prop: str """ diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py index b0c9e81c3a7..b84093776e1 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py index bc15a165479..aa34b406ee7 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py @@ -21,7 +21,6 @@ class DifferentSpreadFloatRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar name: The id property. Required. :vartype name: str """ @@ -51,7 +50,6 @@ class DifferentSpreadFloatDerived(DifferentSpreadFloatRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar name: The id property. Required. :vartype name: str :ivar derived_prop: The index property. Required. @@ -83,7 +81,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadModelArrayRecord(_model_base.Model): """The model spread Record with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str """ @@ -113,7 +110,6 @@ class DifferentSpreadModelArrayDerived(DifferentSpreadModelArrayRecord): """The model extends from a model that spread Record with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str :ivar derived_prop: The index property. Required. @@ -147,7 +143,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadModelRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str """ @@ -177,7 +172,6 @@ class DifferentSpreadModelDerived(DifferentSpreadModelRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str :ivar derived_prop: The index property. Required. @@ -211,7 +205,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadStringRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar id: The name property. Required. :vartype id: float """ @@ -241,7 +234,6 @@ class DifferentSpreadStringDerived(DifferentSpreadStringRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar id: The name property. Required. :vartype id: float :ivar derived_prop: The index property. Required. @@ -273,7 +265,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsFloatAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar id: The id property. Required. :vartype id: float """ @@ -302,7 +293,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsModelAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -333,7 +323,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsModelArrayAdditionalProperties(_model_base.Model): """The model extends from Record type. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -364,7 +353,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsStringAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -393,7 +381,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsUnknownAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -422,7 +409,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsUnknownAdditionalPropertiesDerived(ExtendsUnknownAdditionalProperties): # pylint: disable=name-too-long """The model extends from a type that extends from Record\\ :code:``. - :ivar name: The name property. Required. :vartype name: str :ivar index: The index property. Required. @@ -462,7 +448,6 @@ class ExtendsUnknownAdditionalPropertiesDiscriminated(_model_base.Model): # pyl You probably want to use the sub-classes and not this class directly. Known sub-classes are: ExtendsUnknownAdditionalPropertiesDiscriminatedDerived - :ivar name: The name property. Required. :vartype name: str :ivar kind: The discriminator. Required. Default value is None. @@ -499,7 +484,6 @@ class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived( ): # pylint: disable=name-too-long """The derived discriminated type. - :ivar name: The name property. Required. :vartype name: str :ivar kind: Required. Default value is "derived". @@ -540,7 +524,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsFloatAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar id: The id property. Required. :vartype id: float """ @@ -569,7 +552,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModelAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -600,7 +582,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModelArrayAdditionalProperties(_model_base.Model): """The model is from Record type. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -631,7 +612,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsStringAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -660,7 +640,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsUnknownAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -689,7 +668,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsUnknownAdditionalPropertiesDerived(IsUnknownAdditionalProperties): """The model extends from a type that is Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str :ivar index: The index property. Required. @@ -729,7 +707,6 @@ class IsUnknownAdditionalPropertiesDiscriminated(_model_base.Model): # pylint: You probably want to use the sub-classes and not this class directly. Known sub-classes are: IsUnknownAdditionalPropertiesDiscriminatedDerived - :ivar name: The name property. Required. :vartype name: str :ivar kind: The discriminator. Required. Default value is None. @@ -766,7 +743,6 @@ class IsUnknownAdditionalPropertiesDiscriminatedDerived( ): # pylint: disable=name-too-long """The derived discriminated type. - :ivar name: The name property. Required. :vartype name: str :ivar kind: Required. Default value is "derived". @@ -807,7 +783,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelForRecord(_model_base.Model): """model for record. - :ivar state: The state property. Required. :vartype state: str """ @@ -836,7 +811,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultipleSpreadRecord(_model_base.Model): """The model spread Record\\ :code:`` and Record\\ :code:``. - :ivar flag: The name property. Required. :vartype flag: bool """ @@ -865,7 +839,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadFloatRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar id: The id property. Required. :vartype id: float """ @@ -894,7 +867,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadModelArrayRecord(_model_base.Model): """SpreadModelArrayRecord. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -925,7 +897,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadModelRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -956,7 +927,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForDiscriminatedUnion(_model_base.Model): """The model spread Record\\ :code:``. - :ivar name: The name property. Required. :vartype name: str """ @@ -985,7 +955,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1014,7 +983,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion2(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1043,7 +1011,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion3(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1072,7 +1039,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForUnion(_model_base.Model): """The model spread Record. - :ivar flag: The name property. Required. :vartype flag: bool """ @@ -1101,7 +1067,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadStringRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar name: The name property. Required. :vartype name: str """ @@ -1130,9 +1095,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData0(_model_base.Model): """WidgetData0. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind0". :vartype kind: str :ivar foo_prop: Required. @@ -1166,9 +1128,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData1(_model_base.Model): """WidgetData1. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind1". :vartype kind: str :ivar start: Required. @@ -1208,9 +1167,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData2(_model_base.Model): """WidgetData2. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind1". :vartype kind: str :ivar start: Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py index 75617a41bac..f903a0b6593 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py @@ -21,7 +21,6 @@ class BytesProperty(_model_base.Model): """Template type for testing models with nullable property. Pass in the type of the property you are looking for. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -59,7 +58,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsByteProperty(_model_base.Model): """Model with collection bytes properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -97,7 +95,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsModelProperty(_model_base.Model): """Model with collection models properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -135,7 +132,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsStringProperty(_model_base.Model): """Model with collection string properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -173,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DatetimeProperty(_model_base.Model): """Model with a datetime property. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -211,7 +206,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DurationProperty(_model_base.Model): """Model with a duration property. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -249,7 +243,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InnerModel(_model_base.Model): """Inner model used in collections model property. - :ivar property: Inner model property. Required. :vartype property: str """ @@ -279,7 +272,6 @@ class StringProperty(_model_base.Model): """Template type for testing models with nullable property. Pass in the type of the property you are looking for. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py index 5e8dbdad678..fa782ae9327 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/_models.py @@ -307,7 +307,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RequiredAndOptionalProperty(_model_base.Model): """Model with required and optional properties. - :ivar optional_property: optional string property. :vartype optional_property: str :ivar required_property: required int property. Required. diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py index e436012c81d..77a4ca14594 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py @@ -22,9 +22,6 @@ class BooleanLiteralProperty(_model_base.Model): """Model with a boolean literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is True. :vartype property: bool """ @@ -40,7 +37,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BooleanProperty(_model_base.Model): """Model with a boolean property. - :ivar property: Property. Required. :vartype property: bool """ @@ -69,7 +65,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BytesProperty(_model_base.Model): """Model with a bytes property. - :ivar property: Property. Required. :vartype property: bytes """ @@ -98,7 +93,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsIntProperty(_model_base.Model): """Model with collection int properties. - :ivar property: Property. Required. :vartype property: list[int] """ @@ -127,7 +121,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsModelProperty(_model_base.Model): """Model with collection model properties. - :ivar property: Property. Required. :vartype property: list[~typetest.property.valuetypes.models.InnerModel] """ @@ -156,7 +149,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsStringProperty(_model_base.Model): """Model with collection string properties. - :ivar property: Property. Required. :vartype property: list[str] """ @@ -185,7 +177,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DatetimeProperty(_model_base.Model): """Model with a datetime property. - :ivar property: Property. Required. :vartype property: ~datetime.datetime """ @@ -216,7 +207,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Decimal128Property(_model_base.Model): """Model with a decimal128 property. - :ivar property: Property. Required. :vartype property: ~decimal.Decimal """ @@ -245,7 +235,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DecimalProperty(_model_base.Model): """Model with a decimal property. - :ivar property: Property. Required. :vartype property: ~decimal.Decimal """ @@ -274,7 +263,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DictionaryStringProperty(_model_base.Model): """Model with dictionary string properties. - :ivar property: Property. Required. :vartype property: dict[str, str] """ @@ -303,7 +291,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DurationProperty(_model_base.Model): """Model with a duration property. - :ivar property: Property. Required. :vartype property: ~datetime.timedelta """ @@ -332,7 +319,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class EnumProperty(_model_base.Model): """Model with enum properties. - :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum """ @@ -363,7 +349,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtensibleEnumProperty(_model_base.Model): """Model with extensible enum properties. - :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.InnerEnum """ @@ -392,9 +377,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatLiteralProperty(_model_base.Model): """Model with a float literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is 43.125. :vartype property: float """ @@ -410,7 +392,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatProperty(_model_base.Model): """Model with a float property. - :ivar property: Property. Required. :vartype property: float """ @@ -439,7 +420,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InnerModel(_model_base.Model): """Inner model. Will be a property type for ModelWithModelProperties. - :ivar property: Required string property. Required. :vartype property: str """ @@ -468,9 +448,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IntLiteralProperty(_model_base.Model): """Model with a int literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is 42. :vartype property: int """ @@ -486,7 +463,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IntProperty(_model_base.Model): """Model with a int property. - :ivar property: Property. Required. :vartype property: int """ @@ -515,7 +491,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelProperty(_model_base.Model): """Model with model properties. - :ivar property: Property. Required. :vartype property: ~typetest.property.valuetypes.models.InnerModel """ @@ -548,9 +523,6 @@ class NeverProperty(_model_base.Model): class StringLiteralProperty(_model_base.Model): """Model with a string literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is "hello". :vartype property: str """ @@ -566,7 +538,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class StringProperty(_model_base.Model): """Model with a string property. - :ivar property: Property. Required. :vartype property: str """ @@ -596,7 +567,6 @@ class UnionEnumValueProperty(_model_base.Model): """Template type for testing models with specific properties. Pass in the type of the property you are looking for. - :ivar property: Property. Required. :vartype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 """ @@ -625,7 +595,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionFloatLiteralProperty(_model_base.Model): """Model with a union of float literal as property. - :ivar property: Property. Required. Is one of the following types: float :vartype property: float or float """ @@ -654,7 +623,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionIntLiteralProperty(_model_base.Model): """Model with a union of int literal as property. - :ivar property: Property. Required. Is either a Literal[42] type or a Literal[43] type. :vartype property: int or int """ @@ -683,7 +651,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionStringLiteralProperty(_model_base.Model): """Model with a union of string literal as property. - :ivar property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str @@ -713,7 +680,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownArrayProperty(_model_base.Model): """Model with a property unknown, and the data is an array. - :ivar property: Property. Required. :vartype property: any """ @@ -742,7 +708,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownDictProperty(_model_base.Model): """Model with a property unknown, and the data is a dictionnary. - :ivar property: Property. Required. :vartype property: any """ @@ -771,7 +736,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownIntProperty(_model_base.Model): """Model with a property unknown, and the data is a int32. - :ivar property: Property. Required. :vartype property: any """ @@ -800,7 +764,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownStringProperty(_model_base.Model): """Model with a property unknown, and the data is a string. - :ivar property: Property. Required. :vartype property: any """ diff --git a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-scalar/typetest/scalar/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py index 82507a82c34..64bf34989d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py +++ b/packages/typespec-python/test/azure/generated/typetest-union/typetest/union/models/_models.py @@ -19,7 +19,6 @@ class Cat(_model_base.Model): """Cat. - :ivar name: Required. :vartype name: str """ @@ -48,7 +47,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Dog(_model_base.Model): """Dog. - :ivar bark: Required. :vartype bark: str """ @@ -77,7 +75,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class EnumsOnlyCases(_model_base.Model): """EnumsOnlyCases. - :ivar lr: This should be receive/send the left variant. Required. Is one of the following types: Literal["left"], Literal["right"], Literal["up"], Literal["down"] :vartype lr: str or str or str or str @@ -115,7 +112,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse(_model_base.Model): """GetResponse. - :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedTypesCases """ @@ -144,7 +140,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse1(_model_base.Model): """GetResponse1. - :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedLiteralsCases """ @@ -173,7 +168,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse2(_model_base.Model): """GetResponse2. - :ivar prop: Required. :vartype prop: ~typetest.union.models.StringAndArrayCases """ @@ -202,7 +196,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse3(_model_base.Model): """GetResponse3. - :ivar prop: Required. :vartype prop: ~typetest.union.models.EnumsOnlyCases """ @@ -231,7 +224,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse4(_model_base.Model): """GetResponse4. - :ivar prop: Required. Is either a Cat type or a Dog type. :vartype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog """ @@ -260,7 +252,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse5(_model_base.Model): """GetResponse5. - :ivar prop: Required. Is one of the following types: float :vartype prop: float or float or float """ @@ -289,7 +280,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse6(_model_base.Model): """GetResponse6. - :ivar prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] :vartype prop: int or int or int """ @@ -318,7 +308,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse7(_model_base.Model): """GetResponse7. - :ivar prop: Required. Known values are: "b" and "c". :vartype prop: str or ~typetest.union.models.StringExtensibleNamedUnion """ @@ -349,7 +338,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse8(_model_base.Model): """GetResponse8. - :ivar prop: Required. Is one of the following types: Literal["b"], Literal["c"], str :vartype prop: str or str or str """ @@ -380,7 +368,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse9(_model_base.Model): """GetResponse9. - :ivar prop: Required. Is one of the following types: Literal["a"], Literal["b"], Literal["c"] :vartype prop: str or str or str """ @@ -409,7 +396,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MixedLiteralsCases(_model_base.Model): """MixedLiteralsCases. - :ivar string_literal: This should be receive/send the "a" variant. Required. Is one of the following types: Literal["a"], Literal[2], float, Literal[True] :vartype string_literal: str or int or float or bool @@ -469,7 +455,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MixedTypesCases(_model_base.Model): """MixedTypesCases. - :ivar model: This should be receive/send the Cat variant. Required. Is one of the following types: Cat, Literal["a"], int, bool :vartype model: ~typetest.union.models.Cat or str or int or bool @@ -536,7 +521,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class StringAndArrayCases(_model_base.Model): """StringAndArrayCases. - :ivar string: This should be receive/send the string variant. Required. Is either a str type or a [str] type. :vartype string: str or list[str] diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py index 4723f9db5b8..ed9f8d9d37f 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/models/_models.py @@ -19,7 +19,6 @@ class ModelV1(_model_base.Model): """ModelV1. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". @@ -62,7 +61,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelV2(_model_base.Model): """ModelV2. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. "enumMember" diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py index 4f831a94814..c2449575c39 100644 --- a/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py @@ -16,7 +16,6 @@ class TestModel(_model_base.Model): """TestModel. - :ivar prop: Required. :vartype prop: str :ivar changed_prop: diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py index ac6c82b5f41..dbce875014e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-removed/versioning/removed/models/_models.py @@ -19,7 +19,6 @@ class ModelV2(_model_base.Model): """ModelV2. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. "enumMemberV2" @@ -62,7 +61,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelV3(_model_base.Model): """ModelV3. - :ivar id: Required. :vartype id: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py index 4e8e36ed08b..cd263115fd2 100644 --- a/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py @@ -19,7 +19,6 @@ class NewModel(_model_base.Model): """NewModel. - :ivar new_prop: Required. :vartype new_prop: str :ivar enum_prop: Required. "newEnumMember" diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py index 98eabdebad9..536b61d8536 100644 --- a/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py +++ b/packages/typespec-python/test/azure/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py @@ -16,7 +16,6 @@ class TestModel(_model_base.Model): """TestModel. - :ivar prop: Required. :vartype prop: str :ivar changed_prop: Required. diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_serialization.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/_models.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/_models.py index f1ca3dc4e67..3c857cabdf8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_serialization.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/_models.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/_models.py index f1ca3dc4e67..3c857cabdf8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_serialization.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/_models.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/_models.py index f1ca3dc4e67..3c857cabdf8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/_models.py @@ -16,8 +16,6 @@ class InvalidAuth(_model_base.Model): """InvalidAuth. - All required parameters must be populated in order to send to server. - :ivar error: Required. :vartype error: str """ diff --git a/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_serialization.py b/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-union/authentication/union/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_serialization.py b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/_models.py b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/_models.py index 1818508887e..ed402041482 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/_models.py @@ -16,7 +16,6 @@ class Base64BytesProperty(_model_base.Model): """Base64BytesProperty. - :ivar value: Required. :vartype value: bytes """ @@ -45,7 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Base64urlArrayBytesProperty(_model_base.Model): """Base64urlArrayBytesProperty. - :ivar value: Required. :vartype value: list[bytes] """ @@ -74,7 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Base64urlBytesProperty(_model_base.Model): """Base64urlBytesProperty. - :ivar value: Required. :vartype value: bytes """ @@ -103,7 +100,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DefaultBytesProperty(_model_base.Model): """DefaultBytesProperty. - :ivar value: Required. :vartype value: bytes """ diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_serialization.py b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/_models.py b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/_models.py index f68996e2385..c14b7a2d1eb 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/_models.py @@ -17,7 +17,6 @@ class DefaultDatetimeProperty(_model_base.Model): """DefaultDatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -46,7 +45,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Rfc3339DatetimeProperty(_model_base.Model): """Rfc3339DatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -75,7 +73,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Rfc7231DatetimeProperty(_model_base.Model): """Rfc7231DatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ @@ -104,7 +101,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnixTimestampArrayDatetimeProperty(_model_base.Model): """UnixTimestampArrayDatetimeProperty. - :ivar value: Required. :vartype value: list[~datetime.datetime] """ @@ -135,7 +131,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnixTimestampDatetimeProperty(_model_base.Model): """UnixTimestampDatetimeProperty. - :ivar value: Required. :vartype value: ~datetime.datetime """ diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_serialization.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/_models.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/_models.py index e3787e2bfe4..362ac079837 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/_models.py @@ -17,7 +17,6 @@ class DefaultDurationProperty(_model_base.Model): """DefaultDurationProperty. - :ivar value: Required. :vartype value: ~datetime.timedelta """ @@ -46,7 +45,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Float64SecondsDurationProperty(_model_base.Model): """Float64SecondsDurationProperty. - :ivar value: Required. :vartype value: float """ @@ -75,7 +73,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatSecondsDurationArrayProperty(_model_base.Model): """FloatSecondsDurationArrayProperty. - :ivar value: Required. :vartype value: list[float] """ @@ -104,7 +101,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatSecondsDurationProperty(_model_base.Model): """FloatSecondsDurationProperty. - :ivar value: Required. :vartype value: float """ @@ -133,7 +129,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Int32SecondsDurationProperty(_model_base.Model): """Int32SecondsDurationProperty. - :ivar value: Required. :vartype value: int """ @@ -162,7 +157,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ISO8601DurationProperty(_model_base.Model): """ISO8601DurationProperty. - :ivar value: Required. :vartype value: ~datetime.timedelta """ diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_serialization.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/_models.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/_models.py index ab0b220495b..37e3f2a4bbb 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/_models.py @@ -16,7 +16,6 @@ class SafeintAsStringProperty(_model_base.Model): """SafeintAsStringProperty. - :ivar value: Required. :vartype value: int """ @@ -72,7 +71,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Uint8AsStringProperty(_model_base.Model): """Uint8AsStringProperty. - :ivar value: Required. :vartype value: int """ diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py index 14f694259fa..e4d48650dde 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_serialization.py b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/_models.py b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/_models.py index 14f694259fa..e4d48650dde 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_serialization.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/_models.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/_models.py index 8215aaf7ef2..41da6b5a06d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/_models.py @@ -16,8 +16,6 @@ class User(_model_base.Model): """This is a simple model. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py index 60ec5c7ddf0..ac7ed1a27f8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/_models.py @@ -16,8 +16,6 @@ class BodyModel(_model_base.Model): """BodyModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_serialization.py b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-collection-format/parameters/collectionformat/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_serialization.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/_models.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/_models.py index e9d78e47f34..506d64e4f01 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/_models.py @@ -16,8 +16,6 @@ class BodyParameter(_model_base.Model): """This is a simple model. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py index 2e7d1f34f73..9ab24bb249a 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/_models.py @@ -16,7 +16,6 @@ class PngImageAsJson(_model_base.Model): """PngImageAsJson. - :ivar content: Required. :vartype content: bytes """ diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py index 8d8ec836387..d98cb4b124c 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/_models.py @@ -50,7 +50,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Resource(_model_base.Model): """Details about a resource. - :ivar name: Required. :vartype name: str :ivar description: diff --git a/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-media-type/payload/mediatype/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py index 0f38b5fb240..7461612bcdc 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/_models.py @@ -16,8 +16,6 @@ class FloatRequest(_model_base.Model): """FloatRequest. - All required parameters must be populated in order to send to server. - :ivar temperature: Required. :vartype temperature: float """ diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/_models.py index dd9bdb318c7..9f11c9273d1 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/_models.py @@ -20,8 +20,6 @@ class Address(_model_base.Model): """Address. - All required parameters must be populated in order to send to server. - :ivar city: Required. :vartype city: str """ @@ -50,8 +48,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BinaryArrayPartsRequest(_model_base.Model): """BinaryArrayPartsRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar pictures: Required. @@ -87,8 +83,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ComplexHttpPartsModelRequest(_model_base.Model): """ComplexHttpPartsModelRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar address: Required. @@ -143,8 +137,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ComplexPartsRequest(_model_base.Model): """ComplexPartsRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar address: Required. @@ -192,8 +184,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartOptionalContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartOptionalContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -224,8 +214,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartRequiredContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartRequiredContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -256,8 +244,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FileWithHttpPartSpecificContentTypeRequest(_model_base.Model): # pylint: disable=name-too-long """FileWithHttpPartSpecificContentTypeRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType """ @@ -288,8 +274,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class JsonPartRequest(_model_base.Model): """JsonPartRequest. - All required parameters must be populated in order to send to server. - :ivar address: Required. :vartype address: ~payload.multipart.models.Address :ivar profile_image: Required. @@ -325,8 +309,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultiBinaryPartsRequest(_model_base.Model): """MultiBinaryPartsRequest. - All required parameters must be populated in order to send to server. - :ivar profile_image: Required. :vartype profile_image: ~payload.multipart._vendor.FileType :ivar picture: @@ -363,8 +345,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultiPartRequest(_model_base.Model): """MultiPartRequest. - All required parameters must be populated in order to send to server. - :ivar id: Required. :vartype id: str :ivar profile_image: Required. diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/_models.py index d7e05ce8d0a..883f42b6608 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/_models.py @@ -16,7 +16,6 @@ class Pet(_model_base.Model): """Pet. - :ivar id: Required. :vartype id: str :ivar name: Required. diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py index c898fd6c439..0442497ba0b 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/aio/operations/_operations.py @@ -25,6 +25,7 @@ from ...._model_base import _deserialize from ...._serialization import Deserializer, Serializer from ....aio._configuration import PageableClientConfiguration +from ...continuationtoken.aio.operations._operations import ServerDrivenPaginationContinuationTokenOperations from ...operations._operations import build_server_driven_pagination_link_request if sys.version_info >= (3, 9): @@ -52,6 +53,10 @@ def __init__(self, *args, **kwargs) -> None: self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + self.continuation_token = ServerDrivenPaginationContinuationTokenOperations( + self._client, self._config, self._serialize, self._deserialize + ) + def link(self, **kwargs: Any) -> AsyncIterable["_models3.Pet"]: """link. diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/__init__.py new file mode 100644 index 00000000000..d55ccad1f57 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/__init__.py new file mode 100644 index 00000000000..d55ccad1f57 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/__init__.py @@ -0,0 +1 @@ +__path__ = __import__("pkgutil").extend_path(__path__, __name__) # type: ignore diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py new file mode 100644 index 00000000000..014fc6a87aa --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/__init__.py @@ -0,0 +1,22 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Unbranded Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Unbranded (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=wrong-import-position + +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from ._patch import * # pylint: disable=unused-wildcard-import + + +from ._patch import __all__ as _patch_all +from ._patch import * +from ._patch import patch_sdk as _patch_sdk + +__all__ = [] +__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore +_patch_sdk() diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py new file mode 100644 index 00000000000..9a724a0b918 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_operations.py @@ -0,0 +1,370 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Unbranded Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Unbranded (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import sys +from typing import Any, AsyncIterable, Callable, Dict, List, Optional, TypeVar + +from corehttp.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) +from corehttp.paging import AsyncItemPaged, AsyncList +from corehttp.rest import AsyncHttpResponse, HttpRequest +from corehttp.runtime import AsyncPipelineClient +from corehttp.runtime.pipeline import PipelineResponse + +from ..... import models as _models4 +from ....._model_base import _deserialize +from ....._serialization import Deserializer, Serializer +from .....aio._configuration import PageableClientConfiguration +from ...operations._operations import ( + build_server_driven_pagination_continuation_token_request_header_response_body_request, + build_server_driven_pagination_continuation_token_request_header_response_header_request, + build_server_driven_pagination_continuation_token_request_query_response_body_request, + build_server_driven_pagination_continuation_token_request_query_response_header_request, +) + +if sys.version_info >= (3, 9): + from collections.abc import MutableMapping +else: + from typing import MutableMapping # type: ignore +T = TypeVar("T") +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, AsyncHttpResponse], T, Dict[str, Any]], Any]] + + +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~payload.pageable.aio.PageableClient`'s + :attr:`continuation_token` attribute. + """ + + def __init__(self, *args, **kwargs) -> None: + input_args = list(args) + self._client: AsyncPipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") + self._config: PageableClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + def request_query_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models4.Pet"]: + """request_query_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models4.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models4.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + def request_header_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models4.Pet"]: + """request_header_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models4.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models4.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + def request_query_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models4.Pet"]: + """request_query_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models4.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models4.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) + + def request_header_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> AsyncIterable["_models4.Pet"]: + """request_header_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.AsyncItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models4.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + async def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models4.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, AsyncList(list_of_elem) + + async def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = await self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return AsyncItemPaged(get_next, extract_data) diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_patch.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_patch.py new file mode 100644 index 00000000000..cc9d8be1c50 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/aio/operations/_patch.py @@ -0,0 +1,20 @@ +# ------------------------------------ +# Copyright (c) Unbranded Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import List + +__all__: List[str] = [] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py new file mode 100644 index 00000000000..014fc6a87aa --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/__init__.py @@ -0,0 +1,22 @@ +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Unbranded Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Unbranded (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +# pylint: disable=wrong-import-position + +from typing import TYPE_CHECKING + +if TYPE_CHECKING: + from ._patch import * # pylint: disable=unused-wildcard-import + + +from ._patch import __all__ as _patch_all +from ._patch import * +from ._patch import patch_sdk as _patch_sdk + +__all__ = [] +__all__.extend([p for p in _patch_all if p not in __all__]) # pyright: ignore +_patch_sdk() diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py new file mode 100644 index 00000000000..9ee909164f6 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_operations.py @@ -0,0 +1,469 @@ +# pylint: disable=line-too-long,useless-suppression +# coding=utf-8 +# -------------------------------------------------------------------------- +# Copyright (c) Unbranded Corporation. All rights reserved. +# Licensed under the MIT License. See License.txt in the project root for license information. +# Code generated by Unbranded (R) Python Code Generator. +# Changes may cause incorrect behavior and will be lost if the code is regenerated. +# -------------------------------------------------------------------------- +import sys +from typing import Any, Callable, Dict, Iterable, List, Optional, TypeVar + +from corehttp.exceptions import ( + ClientAuthenticationError, + HttpResponseError, + ResourceExistsError, + ResourceNotFoundError, + ResourceNotModifiedError, + map_error, +) +from corehttp.paging import ItemPaged +from corehttp.rest import HttpRequest, HttpResponse +from corehttp.runtime import PipelineClient +from corehttp.runtime.pipeline import PipelineResponse +from corehttp.utils import case_insensitive_dict + +from .... import models as _models3 +from ...._configuration import PageableClientConfiguration +from ...._model_base import _deserialize +from ...._serialization import Deserializer, Serializer + +if sys.version_info >= (3, 9): + from collections.abc import MutableMapping +else: + from typing import MutableMapping # type: ignore +T = TypeVar("T") +ClsType = Optional[Callable[[PipelineResponse[HttpRequest, HttpResponse], T, Dict[str, Any]], Any]] + +_SERIALIZER = Serializer() +_SERIALIZER.client_side_validation = False + + +def build_server_driven_pagination_continuation_token_request_query_response_body_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-query-response-body" + + # Construct parameters + if token is not None: + _params["token"] = _SERIALIZER.query("token", token, "str") + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_header_response_body_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-header-response-body" + + # Construct parameters + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if token is not None: + _headers["token"] = _SERIALIZER.header("token", token, "str") + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_query_response_header_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-query-response-header" + + # Construct parameters + if token is not None: + _params["token"] = _SERIALIZER.query("token", token, "str") + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +def build_server_driven_pagination_continuation_token_request_header_response_header_request( # pylint: disable=name-too-long + *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any +) -> HttpRequest: + _headers = case_insensitive_dict(kwargs.pop("headers", {}) or {}) + _params = case_insensitive_dict(kwargs.pop("params", {}) or {}) + + accept = _headers.pop("Accept", "application/json") + + # Construct URL + _url = "/payload/pageable/server-driven-pagination/continuationtoken/request-header-response-header" + + # Construct parameters + if bar is not None: + _params["bar"] = _SERIALIZER.query("bar", bar, "str") + + # Construct headers + if token is not None: + _headers["token"] = _SERIALIZER.header("token", token, "str") + if foo is not None: + _headers["foo"] = _SERIALIZER.header("foo", foo, "str") + _headers["Accept"] = _SERIALIZER.header("accept", accept, "str") + + return HttpRequest(method="GET", url=_url, params=_params, headers=_headers, **kwargs) + + +class ServerDrivenPaginationContinuationTokenOperations: # pylint: disable=name-too-long + """ + .. warning:: + **DO NOT** instantiate this class directly. + + Instead, you should access the following operations through + :class:`~payload.pageable.PageableClient`'s + :attr:`continuation_token` attribute. + """ + + def __init__(self, *args, **kwargs): + input_args = list(args) + self._client: PipelineClient = input_args.pop(0) if input_args else kwargs.pop("client") + self._config: PageableClientConfiguration = input_args.pop(0) if input_args else kwargs.pop("config") + self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") + self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + + def request_query_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models3.Pet"]: + """request_query_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models3.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models3.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + def request_header_response_body( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models3.Pet"]: + """request_header_response_body. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models3.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_body_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models3.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + def request_query_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models3.Pet"]: + """request_query_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models3.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_query_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models3.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) + + def request_header_response_header( + self, *, token: Optional[str] = None, foo: Optional[str] = None, bar: Optional[str] = None, **kwargs: Any + ) -> Iterable["_models3.Pet"]: + """request_header_response_header. + + :keyword token: Default value is None. + :paramtype token: str + :keyword foo: Default value is None. + :paramtype foo: str + :keyword bar: Default value is None. + :paramtype bar: str + :return: An iterator like instance of Pet + :rtype: ~corehttp.paging.ItemPaged[~payload.pageable.models.Pet] + :raises ~corehttp.exceptions.HttpResponseError: + """ + _headers = kwargs.pop("headers", {}) or {} + _params = kwargs.pop("params", {}) or {} + + cls: ClsType[List[_models3.Pet]] = kwargs.pop("cls", None) + + error_map: MutableMapping = { + 401: ClientAuthenticationError, + 404: ResourceNotFoundError, + 409: ResourceExistsError, + 304: ResourceNotModifiedError, + } + error_map.update(kwargs.pop("error_map", {}) or {}) + + def prepare_request(next_link=None): + if not next_link: + + _request = build_server_driven_pagination_continuation_token_request_header_response_header_request( + token=token, + foo=foo, + bar=bar, + headers=_headers, + params=_params, + ) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + else: + _request = HttpRequest("GET", next_link) + path_format_arguments = { + "endpoint": self._serialize.url( + "self._config.endpoint", self._config.endpoint, "str", skip_quote=True + ), + } + _request.url = self._client.format_url(_request.url, **path_format_arguments) + + return _request + + def extract_data(pipeline_response): + deserialized = pipeline_response.http_response.json() + list_of_elem = _deserialize(List[_models3.Pet], deserialized["pets"]) + if cls: + list_of_elem = cls(list_of_elem) # type: ignore + return None, iter(list_of_elem) + + def get_next(next_link=None): + _request = prepare_request(next_link) + + _stream = False + pipeline_response: PipelineResponse = self._client.pipeline.run(_request, stream=_stream, **kwargs) + response = pipeline_response.http_response + + if response.status_code not in [200]: + map_error(status_code=response.status_code, response=response, error_map=error_map) + raise HttpResponseError(response=response) + + return pipeline_response + + return ItemPaged(get_next, extract_data) diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_patch.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_patch.py new file mode 100644 index 00000000000..cc9d8be1c50 --- /dev/null +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/operations/_patch.py @@ -0,0 +1,20 @@ +# ------------------------------------ +# Copyright (c) Unbranded Corporation. +# Licensed under the MIT License. +# ------------------------------------ +"""Customize generated code here. + +Follow our quickstart for examples: https://aka.ms/azsdk/python/dpcodegen/python/customize +""" +from typing import List + +__all__: List[str] = [] # Add all objects you want publicly available to users at this package level + + +def patch_sdk(): + """Do not remove from this file. + + `patch_sdk` is a last resort escape hatch that allows you to do customizations + you can't accomplish using the techniques described in + https://aka.ms/azsdk/python/dpcodegen/python/customize + """ diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py index ef5a0d8f195..85ed9cc2bdd 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/operations/_operations.py @@ -26,6 +26,7 @@ from ..._configuration import PageableClientConfiguration from ..._model_base import _deserialize from ..._serialization import Deserializer, Serializer +from ..continuationtoken.operations._operations import ServerDrivenPaginationContinuationTokenOperations if sys.version_info >= (3, 9): from collections.abc import MutableMapping @@ -69,6 +70,10 @@ def __init__(self, *args, **kwargs): self._serialize: Serializer = input_args.pop(0) if input_args else kwargs.pop("serializer") self._deserialize: Deserializer = input_args.pop(0) if input_args else kwargs.pop("deserializer") + self.continuation_token = ServerDrivenPaginationContinuationTokenOperations( + self._client, self._config, self._serialize, self._deserialize + ) + def link(self, **kwargs: Any) -> Iterable["_models2.Pet"]: """link. diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_serialization.py b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/_models.py b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/_models.py index 3a624109b00..5e101303edb 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/_models.py @@ -19,7 +19,6 @@ class ModelWithArrayOfModel(_model_base.Model): """Contains an array of models. - :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel """ @@ -54,7 +53,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithAttributes(_model_base.Model): """Contains fields that are XML attributes. - :ivar id1: Required. :vartype id1: int :ivar id2: Required. @@ -104,7 +102,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithDictionary(_model_base.Model): """Contains a dictionary of key value pairs. - :ivar metadata: Required. :vartype metadata: dict[str, str] """ @@ -138,7 +135,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithEmptyArray(_model_base.Model): """Contains an array of models that's supposed to be sent/received as an empty XML element. - :ivar items_property: Required. :vartype items_property: ~payload.xml.models.SimpleModel """ @@ -173,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithEncodedNames(_model_base.Model): """Uses encodedName instead of Xml.Name which is functionally equivalent. - :ivar model_data: Required. :vartype model_data: ~payload.xml.models.SimpleModel :ivar colors: Required. @@ -216,7 +211,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithOptionalField(_model_base.Model): """Contains an optional field. - :ivar item: Required. :vartype item: str :ivar value: @@ -258,7 +252,6 @@ class ModelWithRenamedArrays(_model_base.Model): """Contains fields of wrapped and unwrapped arrays of primitive types that have different XML representations. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -300,7 +293,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithRenamedFields(_model_base.Model): """Contains fields of the same type that have different XML representation. - :ivar input_data: Required. :vartype input_data: ~payload.xml.models.SimpleModel :ivar output_data: Required. @@ -344,7 +336,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithSimpleArrays(_model_base.Model): """Contains fields of arrays of primitive types. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -386,7 +377,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithText(_model_base.Model): """Contains an attribute and text. - :ivar language: Required. :vartype language: str :ivar content: Required. @@ -428,7 +418,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelWithUnwrappedArray(_model_base.Model): """Contains fields of wrapped and unwrapped arrays of primitive types. - :ivar colors: Required. :vartype colors: list[str] :ivar counts: Required. @@ -470,7 +459,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SimpleModel(_model_base.Model): """Contains fields of primitive types. - :ivar name: Required. :vartype name: str :ivar age: Required. diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_serialization.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/_models.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/_models.py index a34eea253e4..3e93c7ced9c 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/_models.py @@ -16,8 +16,6 @@ class DefaultError(_model_base.Model): """DefaultError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str """ @@ -46,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ErrorInRange(_model_base.Model): """ErrorInRange. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str :ivar message: Required. @@ -81,8 +77,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NotFoundError(_model_base.Model): """NotFoundError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str :ivar resource_id: Required. @@ -116,8 +110,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Standard4XXError(_model_base.Model): """Standard4XXError. - All required parameters must be populated in order to send to server. - :ivar code: Required. :vartype code: str """ diff --git a/packages/typespec-python/test/unbranded/generated/routes/routes/_serialization.py b/packages/typespec-python/test/unbranded/generated/routes/routes/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/routes/routes/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/routes/routes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py index 0709df6fb3a..13eb333d199 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/_models.py @@ -16,7 +16,6 @@ class JsonEncodedNameModel(_model_base.Model): """JsonEncodedNameModel. - :ivar default_name: Pass in true. Required. :vartype default_name: bool """ diff --git a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/server-endpoint-not-defined/server/endpoint/notdefined/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_serialization.py b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_serialization.py b/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-single/server/path/single/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/server-versions-not-versioned/server/versions/notversioned/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_serialization.py b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/server-versions-versioned/server/versions/versioned/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/special-headers-conditional-request/specialheaders/conditionalrequest/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/special-headers-repeatability/specialheaders/repeatability/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_serialization.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/_models.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/_models.py index fd8ae88ba4e..e2d1c0212ae 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/_models.py @@ -16,8 +16,6 @@ class SameAsModel(_model_base.Model): """SameAsModel. - All required parameters must be populated in order to send to server. - :ivar same_as_model: Required. :vartype same_as_model: str """ diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/_models.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/_models.py index d1ec40657e2..88e08578656 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/_models.py @@ -1,4 +1,3 @@ -# pylint: disable=too-many-lines # coding=utf-8 # -------------------------------------------------------------------------- # Copyright (c) Unbranded Corporation. All rights reserved. @@ -17,8 +16,6 @@ class AndModel(_model_base.Model): """AndModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -47,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AsModel(_model_base.Model): """AsModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -77,8 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AssertModel(_model_base.Model): """AssertModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -107,8 +100,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AsyncModel(_model_base.Model): """AsyncModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -137,8 +128,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class AwaitModel(_model_base.Model): """AwaitModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -167,8 +156,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BreakModel(_model_base.Model): """BreakModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -197,8 +184,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ClassModel(_model_base.Model): """ClassModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -227,8 +212,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Constructor(_model_base.Model): """Constructor. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -257,8 +240,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ContinueModel(_model_base.Model): """ContinueModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -287,8 +268,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DefModel(_model_base.Model): """DefModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -317,8 +296,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DelModel(_model_base.Model): """DelModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -347,8 +324,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ElifModel(_model_base.Model): """ElifModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -377,8 +352,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ElseModel(_model_base.Model): """ElseModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -407,8 +380,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExceptModel(_model_base.Model): """ExceptModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -437,8 +408,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExecModel(_model_base.Model): """ExecModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -467,8 +436,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FinallyModel(_model_base.Model): """FinallyModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -497,8 +464,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ForModel(_model_base.Model): """ForModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -527,8 +492,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FromModel(_model_base.Model): """FromModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -557,8 +520,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GlobalModel(_model_base.Model): """GlobalModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -587,8 +548,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IfModel(_model_base.Model): """IfModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -617,8 +576,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ImportModel(_model_base.Model): """ImportModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -647,8 +604,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InModel(_model_base.Model): """InModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -677,8 +632,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModel(_model_base.Model): """IsModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -707,8 +660,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class LambdaModel(_model_base.Model): """LambdaModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -737,8 +688,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class NotModel(_model_base.Model): """NotModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -767,8 +716,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OrModel(_model_base.Model): """OrModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -797,8 +744,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class PassModel(_model_base.Model): """PassModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -827,8 +772,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RaiseModel(_model_base.Model): """RaiseModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -857,8 +800,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ReturnModel(_model_base.Model): """ReturnModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -887,8 +828,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class TryModel(_model_base.Model): """TryModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -917,8 +856,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WhileModel(_model_base.Model): """WhileModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -947,8 +884,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WithModel(_model_base.Model): """WithModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ @@ -977,8 +912,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class YieldModel(_model_base.Model): """YieldModel. - All required parameters must be populated in order to send to server. - :ivar name: Required. :vartype name: str """ diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/_models.py index 958abea9cf1..62889c53654 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/_models.py @@ -19,7 +19,6 @@ class InnerModel(_model_base.Model): """Array inner model. - :ivar property: Required string property. Required. :vartype property: str :ivar children: diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/_models.py index 82822cb115c..d08dc5d6f22 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/_models.py @@ -19,7 +19,6 @@ class InnerModel(_model_base.Model): """Dictionary inner model. - :ivar property: Required string property. Required. :vartype property: str :ivar children: diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py index c7c9c5e87eb..31e6576dcc4 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-enumdiscriminator/typetest/model/enumdiscriminator/models/_models.py @@ -21,7 +21,6 @@ class Snake(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Cobra - :ivar kind: discriminator property. Required. "cobra" :vartype kind: str or ~typetest.model.enumdiscriminator.models.SnakeKind :ivar length: Length of the snake. Required. @@ -56,7 +55,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Cobra(Snake, discriminator="cobra"): """Cobra model. - :ivar length: Length of the snake. Required. :vartype length: int :ivar kind: discriminator property. Required. Species cobra @@ -90,7 +88,6 @@ class Dog(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Golden - :ivar kind: discriminator property. Required. "golden" :vartype kind: str or ~typetest.model.enumdiscriminator.models.DogKind :ivar weight: Weight of the dog. Required. @@ -125,7 +122,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Golden(Dog, discriminator="golden"): """Golden dog model. - :ivar weight: Weight of the dog. Required. :vartype weight: int :ivar kind: discriminator property. Required. Species golden diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py index ad373f8e4ef..5edfc710edb 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/_models.py @@ -23,7 +23,6 @@ class Fish(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Salmon, Shark - :ivar kind: Discriminator property for Fish. Required. Default value is None. :vartype kind: str :ivar age: Required. @@ -62,7 +61,6 @@ class Shark(Fish, discriminator="shark"): You probably want to use the sub-classes and not this class directly. Known sub-classes are: GoblinShark, SawShark - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". @@ -99,7 +97,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GoblinShark(Shark, discriminator="goblin"): """The third level model GoblinShark in polymorphic multiple levels inheritance. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". @@ -134,7 +131,6 @@ class Salmon(Fish, discriminator="salmon"): """The second level model in polymorphic multiple levels inheritance which contains references to other polymorphic instances. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "salmon". @@ -177,7 +173,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SawShark(Shark, discriminator="saw"): """The third level model SawShark in polymorphic multiple levels inheritance. - :ivar age: Required. :vartype age: int :ivar kind: Required. Default value is "shark". diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py index 421d5963edd..abce6395a89 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/_models.py @@ -16,7 +16,6 @@ class Pet(_model_base.Model): """This is base model for not-discriminated normal multiple levels inheritance. - :ivar name: Required. :vartype name: str """ @@ -45,7 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Cat(Pet): """The second level model in the normal multiple levels inheritance. - :ivar name: Required. :vartype name: str :ivar age: Required. @@ -77,7 +75,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Siamese(Cat): """The third level model in the normal multiple levels inheritance. - :ivar name: Required. :vartype name: str :ivar age: Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py index 3df5e36bff5..67b9ddf299b 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/_models.py @@ -48,7 +48,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Extension(Element): """extension. - :ivar extension: :vartype extension: list[~typetest.model.recursive.models.Extension] :ivar level: Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py index cf4ba943085..2986fc67d20 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/_models.py @@ -23,7 +23,6 @@ class Bird(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: Eagle, Goose, SeaGull, Sparrow - :ivar kind: Required. Default value is None. :vartype kind: str :ivar wingspan: Required. @@ -62,7 +61,6 @@ class Dinosaur(_model_base.Model): You probably want to use the sub-classes and not this class directly. Known sub-classes are: TRex - :ivar kind: Discriminator property for Dinosaur. Required. Default value is None. :vartype kind: str :ivar size: Required. @@ -98,7 +96,6 @@ class Eagle(Bird, discriminator="eagle"): """The second level model in polymorphic single levels inheritance which contains references to other polymorphic instances. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "eagle". @@ -141,7 +138,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Goose(Bird, discriminator="goose"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "goose". @@ -172,7 +168,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SeaGull(Bird, discriminator="seagull"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "seagull". @@ -203,7 +198,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Sparrow(Bird, discriminator="sparrow"): """The second level model in polymorphic single level inheritance. - :ivar wingspan: Required. :vartype wingspan: int :ivar kind: Required. Default value is "sparrow". @@ -234,7 +228,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class TRex(Dinosaur, discriminator="t-rex"): """The second level legacy model in polymorphic single level inheritance. - :ivar size: Required. :vartype size: int :ivar kind: Required. Default value is "t-rex". diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/_models.py index bed762c5fcb..0b0e577b58f 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/_models.py @@ -16,7 +16,6 @@ class InputOutputRecord(_model_base.Model): """Record used both as operation parameter and return type. - :ivar required_prop: Required. :vartype required_prop: str """ @@ -45,8 +44,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InputRecord(_model_base.Model): """Record used in operation parameters. - All required parameters must be populated in order to send to server. - :ivar required_prop: Required. :vartype required_prop: str """ @@ -75,7 +72,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class OutputRecord(_model_base.Model): """Record used in operation return type. - :ivar required_prop: Required. :vartype required_prop: str """ diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py index 14f694259fa..e4d48650dde 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/_models.py @@ -16,8 +16,6 @@ class ReadOnlyModel(_model_base.Model): """RoundTrip model with readonly optional properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - :ivar optional_nullable_int_list: Optional readonly nullable int list. :vartype optional_nullable_int_list: list[int] :ivar optional_string_record: Optional readonly string dictionary. @@ -33,9 +31,6 @@ class ReadOnlyModel(_model_base.Model): class VisibilityModel(_model_base.Model): """Output model with visibility properties. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar read_prop: Required string, illustrating a readonly property. Required. :vartype read_prop: str :ivar query_prop: Required int32, illustrating a query property. Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py index ab3118fff98..768104556ca 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/_models.py @@ -21,7 +21,6 @@ class DifferentSpreadFloatRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar name: The id property. Required. :vartype name: str """ @@ -51,7 +50,6 @@ class DifferentSpreadFloatDerived(DifferentSpreadFloatRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar name: The id property. Required. :vartype name: str :ivar derived_prop: The index property. Required. @@ -83,7 +81,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadModelArrayRecord(_model_base.Model): """The model spread Record with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str """ @@ -113,7 +110,6 @@ class DifferentSpreadModelArrayDerived(DifferentSpreadModelArrayRecord): """The model extends from a model that spread Record with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str :ivar derived_prop: The index property. Required. @@ -147,7 +143,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadModelRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str """ @@ -177,7 +172,6 @@ class DifferentSpreadModelDerived(DifferentSpreadModelRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar known_prop: Required. :vartype known_prop: str :ivar derived_prop: The index property. Required. @@ -211,7 +205,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DifferentSpreadStringRecord(_model_base.Model): """The model spread Record\\ :code:`` with the different known property type. - :ivar id: The name property. Required. :vartype id: float """ @@ -241,7 +234,6 @@ class DifferentSpreadStringDerived(DifferentSpreadStringRecord): """The model extends from a model that spread Record\\ :code:`` with the different known property type. - :ivar id: The name property. Required. :vartype id: float :ivar derived_prop: The index property. Required. @@ -273,7 +265,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsFloatAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar id: The id property. Required. :vartype id: float """ @@ -302,7 +293,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsModelAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -333,7 +323,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsModelArrayAdditionalProperties(_model_base.Model): """The model extends from Record type. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -364,7 +353,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsStringAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -393,7 +381,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsUnknownAdditionalProperties(_model_base.Model): """The model extends from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -422,7 +409,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtendsUnknownAdditionalPropertiesDerived(ExtendsUnknownAdditionalProperties): # pylint: disable=name-too-long """The model extends from a type that extends from Record\\ :code:``. - :ivar name: The name property. Required. :vartype name: str :ivar index: The index property. Required. @@ -462,7 +448,6 @@ class ExtendsUnknownAdditionalPropertiesDiscriminated(_model_base.Model): # pyl You probably want to use the sub-classes and not this class directly. Known sub-classes are: ExtendsUnknownAdditionalPropertiesDiscriminatedDerived - :ivar name: The name property. Required. :vartype name: str :ivar kind: The discriminator. Required. Default value is None. @@ -499,7 +484,6 @@ class ExtendsUnknownAdditionalPropertiesDiscriminatedDerived( ): # pylint: disable=name-too-long """The derived discriminated type. - :ivar name: The name property. Required. :vartype name: str :ivar kind: Required. Default value is "derived". @@ -540,7 +524,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsFloatAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar id: The id property. Required. :vartype id: float """ @@ -569,7 +552,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModelAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -600,7 +582,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsModelArrayAdditionalProperties(_model_base.Model): """The model is from Record type. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -631,7 +612,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsStringAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -660,7 +640,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsUnknownAdditionalProperties(_model_base.Model): """The model is from Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str """ @@ -689,7 +668,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IsUnknownAdditionalPropertiesDerived(IsUnknownAdditionalProperties): """The model extends from a type that is Record\\ :code:`` type. - :ivar name: The name property. Required. :vartype name: str :ivar index: The index property. Required. @@ -729,7 +707,6 @@ class IsUnknownAdditionalPropertiesDiscriminated(_model_base.Model): # pylint: You probably want to use the sub-classes and not this class directly. Known sub-classes are: IsUnknownAdditionalPropertiesDiscriminatedDerived - :ivar name: The name property. Required. :vartype name: str :ivar kind: The discriminator. Required. Default value is None. @@ -766,7 +743,6 @@ class IsUnknownAdditionalPropertiesDiscriminatedDerived( ): # pylint: disable=name-too-long """The derived discriminated type. - :ivar name: The name property. Required. :vartype name: str :ivar kind: Required. Default value is "derived". @@ -807,7 +783,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelForRecord(_model_base.Model): """model for record. - :ivar state: The state property. Required. :vartype state: str """ @@ -836,7 +811,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MultipleSpreadRecord(_model_base.Model): """The model spread Record\\ :code:`` and Record\\ :code:``. - :ivar flag: The name property. Required. :vartype flag: bool """ @@ -865,7 +839,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadFloatRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar id: The id property. Required. :vartype id: float """ @@ -894,7 +867,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadModelArrayRecord(_model_base.Model): """SpreadModelArrayRecord. - :ivar known_prop: Required. :vartype known_prop: list[~typetest.property.additionalproperties.models.ModelForRecord] """ @@ -925,7 +897,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadModelRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar known_prop: Required. :vartype known_prop: ~typetest.property.additionalproperties.models.ModelForRecord """ @@ -956,7 +927,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForDiscriminatedUnion(_model_base.Model): """The model spread Record\\ :code:``. - :ivar name: The name property. Required. :vartype name: str """ @@ -985,7 +955,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1014,7 +983,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion2(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1043,7 +1011,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForNonDiscriminatedUnion3(_model_base.Model): """The model spread Record. - :ivar name: The name property. Required. :vartype name: str """ @@ -1072,7 +1039,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadRecordForUnion(_model_base.Model): """The model spread Record. - :ivar flag: The name property. Required. :vartype flag: bool """ @@ -1101,7 +1067,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class SpreadStringRecord(_model_base.Model): """The model spread Record\\ :code:`` with the same known property type. - :ivar name: The name property. Required. :vartype name: str """ @@ -1130,9 +1095,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData0(_model_base.Model): """WidgetData0. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind0". :vartype kind: str :ivar foo_prop: Required. @@ -1166,9 +1128,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData1(_model_base.Model): """WidgetData1. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind1". :vartype kind: str :ivar start: Required. @@ -1208,9 +1167,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class WidgetData2(_model_base.Model): """WidgetData2. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar kind: Required. Default value is "kind1". :vartype kind: str :ivar start: Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py index d0209bb7063..2938edaf348 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/_models.py @@ -21,7 +21,6 @@ class BytesProperty(_model_base.Model): """Template type for testing models with nullable property. Pass in the type of the property you are looking for. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -59,7 +58,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsByteProperty(_model_base.Model): """Model with collection bytes properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -97,7 +95,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsModelProperty(_model_base.Model): """Model with collection models properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -135,7 +132,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsStringProperty(_model_base.Model): """Model with collection string properties. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -173,7 +169,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DatetimeProperty(_model_base.Model): """Model with a datetime property. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -211,7 +206,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DurationProperty(_model_base.Model): """Model with a duration property. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. @@ -249,7 +243,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InnerModel(_model_base.Model): """Inner model used in collections model property. - :ivar property: Inner model property. Required. :vartype property: str """ @@ -279,7 +272,6 @@ class StringProperty(_model_base.Model): """Template type for testing models with nullable property. Pass in the type of the property you are looking for. - :ivar required_property: Required property. Required. :vartype required_property: str :ivar nullable_property: Property. Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/_models.py index 7d20f98e842..25ce7e326f6 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/_models.py @@ -307,7 +307,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class RequiredAndOptionalProperty(_model_base.Model): """Model with required and optional properties. - :ivar optional_property: optional string property. :vartype optional_property: str :ivar required_property: required int property. Required. diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py index 1834b01cf16..36d51685827 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-valuetypes/typetest/property/valuetypes/models/_models.py @@ -22,9 +22,6 @@ class BooleanLiteralProperty(_model_base.Model): """Model with a boolean literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is True. :vartype property: bool """ @@ -40,7 +37,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BooleanProperty(_model_base.Model): """Model with a boolean property. - :ivar property: Property. Required. :vartype property: bool """ @@ -69,7 +65,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class BytesProperty(_model_base.Model): """Model with a bytes property. - :ivar property: Property. Required. :vartype property: bytes """ @@ -98,7 +93,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsIntProperty(_model_base.Model): """Model with collection int properties. - :ivar property: Property. Required. :vartype property: list[int] """ @@ -127,7 +121,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsModelProperty(_model_base.Model): """Model with collection model properties. - :ivar property: Property. Required. :vartype property: list[~typetest.property.valuetypes.models.InnerModel] """ @@ -156,7 +149,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class CollectionsStringProperty(_model_base.Model): """Model with collection string properties. - :ivar property: Property. Required. :vartype property: list[str] """ @@ -185,7 +177,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DatetimeProperty(_model_base.Model): """Model with a datetime property. - :ivar property: Property. Required. :vartype property: ~datetime.datetime """ @@ -216,7 +207,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Decimal128Property(_model_base.Model): """Model with a decimal128 property. - :ivar property: Property. Required. :vartype property: ~decimal.Decimal """ @@ -245,7 +235,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DecimalProperty(_model_base.Model): """Model with a decimal property. - :ivar property: Property. Required. :vartype property: ~decimal.Decimal """ @@ -274,7 +263,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DictionaryStringProperty(_model_base.Model): """Model with dictionary string properties. - :ivar property: Property. Required. :vartype property: dict[str, str] """ @@ -303,7 +291,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class DurationProperty(_model_base.Model): """Model with a duration property. - :ivar property: Property. Required. :vartype property: ~datetime.timedelta """ @@ -332,7 +319,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class EnumProperty(_model_base.Model): """Model with enum properties. - :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.FixedInnerEnum """ @@ -363,7 +349,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ExtensibleEnumProperty(_model_base.Model): """Model with extensible enum properties. - :ivar property: Property. Required. Known values are: "ValueOne" and "ValueTwo". :vartype property: str or ~typetest.property.valuetypes.models.InnerEnum """ @@ -392,9 +377,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatLiteralProperty(_model_base.Model): """Model with a float literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is 43.125. :vartype property: float """ @@ -410,7 +392,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class FloatProperty(_model_base.Model): """Model with a float property. - :ivar property: Property. Required. :vartype property: float """ @@ -439,7 +420,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class InnerModel(_model_base.Model): """Inner model. Will be a property type for ModelWithModelProperties. - :ivar property: Required string property. Required. :vartype property: str """ @@ -468,9 +448,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IntLiteralProperty(_model_base.Model): """Model with a int literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is 42. :vartype property: int """ @@ -486,7 +463,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class IntProperty(_model_base.Model): """Model with a int property. - :ivar property: Property. Required. :vartype property: int """ @@ -515,7 +491,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelProperty(_model_base.Model): """Model with model properties. - :ivar property: Property. Required. :vartype property: ~typetest.property.valuetypes.models.InnerModel """ @@ -548,9 +523,6 @@ class NeverProperty(_model_base.Model): class StringLiteralProperty(_model_base.Model): """Model with a string literal property. - Readonly variables are only populated by the server, and will be ignored when sending a request. - - :ivar property: Property. Required. Default value is "hello". :vartype property: str """ @@ -566,7 +538,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class StringProperty(_model_base.Model): """Model with a string property. - :ivar property: Property. Required. :vartype property: str """ @@ -596,7 +567,6 @@ class UnionEnumValueProperty(_model_base.Model): """Template type for testing models with specific properties. Pass in the type of the property you are looking for. - :ivar property: Property. Required. :vartype property: str or ~typetest.property.valuetypes.models.ENUM_VALUE2 """ @@ -625,7 +595,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionFloatLiteralProperty(_model_base.Model): """Model with a union of float literal as property. - :ivar property: Property. Required. Is one of the following types: float :vartype property: float or float """ @@ -654,7 +623,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionIntLiteralProperty(_model_base.Model): """Model with a union of int literal as property. - :ivar property: Property. Required. Is either a Literal[42] type or a Literal[43] type. :vartype property: int or int """ @@ -683,7 +651,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnionStringLiteralProperty(_model_base.Model): """Model with a union of string literal as property. - :ivar property: Property. Required. Is either a Literal["hello"] type or a Literal["world"] type. :vartype property: str or str @@ -713,7 +680,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownArrayProperty(_model_base.Model): """Model with a property unknown, and the data is an array. - :ivar property: Property. Required. :vartype property: any """ @@ -742,7 +708,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownDictProperty(_model_base.Model): """Model with a property unknown, and the data is a dictionnary. - :ivar property: Property. Required. :vartype property: any """ @@ -771,7 +736,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownIntProperty(_model_base.Model): """Model with a property unknown, and the data is a int32. - :ivar property: Property. Required. :vartype property: any """ @@ -800,7 +764,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class UnknownStringProperty(_model_base.Model): """Model with a property unknown, and the data is a string. - :ivar property: Property. Required. :vartype property: any """ diff --git a/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-scalar/typetest/scalar/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_serialization.py b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/models/_models.py b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/models/_models.py index 3f1b2f6f514..a19ab397c1c 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-union/typetest/union/models/_models.py @@ -19,7 +19,6 @@ class Cat(_model_base.Model): """Cat. - :ivar name: Required. :vartype name: str """ @@ -48,7 +47,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class Dog(_model_base.Model): """Dog. - :ivar bark: Required. :vartype bark: str """ @@ -77,7 +75,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class EnumsOnlyCases(_model_base.Model): """EnumsOnlyCases. - :ivar lr: This should be receive/send the left variant. Required. Is one of the following types: Literal["left"], Literal["right"], Literal["up"], Literal["down"] :vartype lr: str or str or str or str @@ -115,7 +112,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse(_model_base.Model): """GetResponse. - :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedTypesCases """ @@ -144,7 +140,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse1(_model_base.Model): """GetResponse1. - :ivar prop: Required. :vartype prop: ~typetest.union.models.MixedLiteralsCases """ @@ -173,7 +168,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse2(_model_base.Model): """GetResponse2. - :ivar prop: Required. :vartype prop: ~typetest.union.models.StringAndArrayCases """ @@ -202,7 +196,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse3(_model_base.Model): """GetResponse3. - :ivar prop: Required. :vartype prop: ~typetest.union.models.EnumsOnlyCases """ @@ -231,7 +224,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse4(_model_base.Model): """GetResponse4. - :ivar prop: Required. Is either a Cat type or a Dog type. :vartype prop: ~typetest.union.models.Cat or ~typetest.union.models.Dog """ @@ -260,7 +252,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse5(_model_base.Model): """GetResponse5. - :ivar prop: Required. Is one of the following types: float :vartype prop: float or float or float """ @@ -289,7 +280,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse6(_model_base.Model): """GetResponse6. - :ivar prop: Required. Is one of the following types: Literal[1], Literal[2], Literal[3] :vartype prop: int or int or int """ @@ -318,7 +308,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse7(_model_base.Model): """GetResponse7. - :ivar prop: Required. Known values are: "b" and "c". :vartype prop: str or ~typetest.union.models.StringExtensibleNamedUnion """ @@ -349,7 +338,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse8(_model_base.Model): """GetResponse8. - :ivar prop: Required. Is one of the following types: Literal["b"], Literal["c"], str :vartype prop: str or str or str """ @@ -380,7 +368,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class GetResponse9(_model_base.Model): """GetResponse9. - :ivar prop: Required. Is one of the following types: Literal["a"], Literal["b"], Literal["c"] :vartype prop: str or str or str """ @@ -409,7 +396,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MixedLiteralsCases(_model_base.Model): """MixedLiteralsCases. - :ivar string_literal: This should be receive/send the "a" variant. Required. Is one of the following types: Literal["a"], Literal[2], float, Literal[True] :vartype string_literal: str or int or float or bool @@ -469,7 +455,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class MixedTypesCases(_model_base.Model): """MixedTypesCases. - :ivar model: This should be receive/send the Cat variant. Required. Is one of the following types: Cat, Literal["a"], int, bool :vartype model: ~typetest.union.models.Cat or str or int or bool @@ -536,7 +521,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class StringAndArrayCases(_model_base.Model): """StringAndArrayCases. - :ivar string: This should be receive/send the string variant. Required. Is either a str type or a [str] type. :vartype string: str or list[str] diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/models/_models.py b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/models/_models.py index a538788bef8..cf382e71704 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/models/_models.py @@ -19,7 +19,6 @@ class ModelV1(_model_base.Model): """ModelV1. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2". @@ -62,7 +61,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelV2(_model_base.Model): """ModelV2. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. "enumMember" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py index 188fde629f2..3a0f5b294e4 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-madeoptional/versioning/madeoptional/models/_models.py @@ -16,7 +16,6 @@ class TestModel(_model_base.Model): """TestModel. - :ivar prop: Required. :vartype prop: str :ivar changed_prop: diff --git a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/models/_models.py b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/models/_models.py index 635034a6ba4..91e92226760 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-removed/versioning/removed/models/_models.py @@ -19,7 +19,6 @@ class ModelV2(_model_base.Model): """ModelV2. - :ivar prop: Required. :vartype prop: str :ivar enum_prop: Required. "enumMemberV2" @@ -62,7 +61,6 @@ def __init__(self, *args: Any, **kwargs: Any) -> None: class ModelV3(_model_base.Model): """ModelV3. - :ivar id: Required. :vartype id: str :ivar enum_prop: Required. Known values are: "enumMemberV1" and "enumMemberV2Preview". diff --git a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py index e423bc9b009..12d6a646c7b 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-renamedfrom/versioning/renamedfrom/models/_models.py @@ -19,7 +19,6 @@ class NewModel(_model_base.Model): """NewModel. - :ivar new_prop: Required. :vartype new_prop: str :ivar enum_prop: Required. "newEnumMember" diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py index 764b2cf027b..698532b21a8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py index 83f129dc8c5..17f87998aa7 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-typechangedfrom/versioning/typechangedfrom/models/_models.py @@ -16,7 +16,6 @@ class TestModel(_model_base.Model): """TestModel. - :ivar prop: Required. :vartype prop: str :ivar changed_prop: Required. From 6a2e6ccf5d55b603fb04b502c735f3d6b5fe3a31 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 6 Mar 2025 06:09:35 +0000 Subject: [PATCH 3/6] Regenerate for autorest.python (2025-03-06 06:09:35) --- .../test/azure-mgmt-test/azure/mgmt/test/_serialization.py | 2 +- .../test/azure-test/azure/test/_generated/_serialization.py | 2 +- .../generated/azure/key/credential/sample/_serialization.py | 2 +- .../basic/generated/azure/basic/sample/_serialization.py | 2 +- .../generated/azure/directives/sample/_serialization.py | 2 +- .../management/generated/azure/mgmt/sample/_serialization.py | 2 +- .../multiapi/generated/azure/multiapi/sample/_serialization.py | 2 +- .../AzureBodyDuration/bodyduration/_serialization.py | 2 +- .../AcceptanceTests/AzureReport/azurereport/_serialization.py | 2 +- .../CustomPollerPager/custompollerpager/_serialization.py | 2 +- .../CustomUrlPaging/custombaseurlpaging/_serialization.py | 2 +- .../legacy/Expected/AcceptanceTests/Head/head/_serialization.py | 2 +- .../HeadExceptions/headexceptions/_serialization.py | 2 +- .../headwithazurekeycredentialpolicy/_serialization.py | 2 +- .../legacy/Expected/AcceptanceTests/Lro/lro/_serialization.py | 2 +- .../lrowithparameterizedendpoints/_serialization.py | 2 +- .../MixedApiVersion/mixedapiversion/_serialization.py | 2 +- .../azure/packagemode/batch/head/_serialization.py | 2 +- .../azure/packagemode/batch/paging/_serialization.py | 2 +- .../azure/packagemode/customize/_serialization.py | 2 +- .../azure/packagemode/dataplane/_serialization.py | 2 +- .../PackageModeMgmtPlane/azure/package/mode/_serialization.py | 2 +- .../Expected/AcceptanceTests/Paging/paging/_serialization.py | 2 +- .../SecurityAadSwagger/securityaadswagger/_serialization.py | 2 +- .../SecurityKeySwagger/securitykeyswagger/_serialization.py | 2 +- .../StorageManagementClient/storage/_serialization.py | 2 +- .../subscriptionidapiversion/_serialization.py | 2 +- .../bodydurationversiontolerant/_serialization.py | 2 +- .../azureparametergroupingversiontolerant/_serialization.py | 2 +- .../azurereportversiontolerant/_serialization.py | 2 +- .../azurespecialpropertiesversiontolerant/_serialization.py | 2 +- .../custombaseurlversiontolerant/_serialization.py | 2 +- .../custompollerpagerversiontolerant/_serialization.py | 2 +- .../custombaseurlpagingversiontolerant/_serialization.py | 2 +- .../headexceptionsversiontolerant/_serialization.py | 2 +- .../HeadVersionTolerant/headversiontolerant/_serialization.py | 2 +- .../lropagingversiontolerant/_serialization.py | 2 +- .../LroVersionTolerant/lroversiontolerant/_serialization.py | 2 +- .../_serialization.py | 2 +- .../pagingversiontolerant/_serialization.py | 2 +- .../storageversiontolerant/_serialization.py | 2 +- .../subscriptionidapiversionversiontolerant/_serialization.py | 2 +- .../dpgcustomizationcustomizedversiontolerant/_serialization.py | 2 +- .../dpgcustomizationinitialversiontolerant/_serialization.py | 2 +- .../dpgservicedriveninitialversiontolerant/_serialization.py | 2 +- .../dpgservicedrivenupdateoneversiontolerant/_serialization.py | 2 +- .../dpgtestmodelsversiontolerant/_serialization.py | 2 +- .../AcceptanceTests/Multiapi/multiapi/_serialization.py | 2 +- .../multiapicredentialdefaultpolicy/_serialization.py | 2 +- .../multiapicustombaseurl/_serialization.py | 2 +- .../MultiapiDataPlane/multiapidataplane/_serialization.py | 2 +- .../MultiapiKeywordOnly/multiapikeywordonly/_serialization.py | 2 +- .../MultiapiNoAsync/multiapinoasync/_serialization.py | 2 +- .../MultiapiSecurity/multiapisecurity/_serialization.py | 2 +- .../multiapiwithsubmodule/submodule/_serialization.py | 2 +- .../test/unittests/storage_models/serialization.py | 2 +- .../AdditionalProperties/additionalproperties/_serialization.py | 2 +- .../AcceptanceTests/Anything/anything/_serialization.py | 2 +- .../AcceptanceTests/BodyArray/bodyarray/_serialization.py | 2 +- .../vanilla/body/array/_serialization.py | 2 +- .../AcceptanceTests/BodyBinary/bodybinary/_serialization.py | 2 +- .../AcceptanceTests/BodyBoolean/bodyboolean/_serialization.py | 2 +- .../AcceptanceTests/BodyByte/bodybyte/_serialization.py | 2 +- .../bodybytewithpackagename/_serialization.py | 2 +- .../AcceptanceTests/BodyDate/bodydate/_serialization.py | 2 +- .../AcceptanceTests/BodyDateTime/bodydatetime/_serialization.py | 2 +- .../BodyDateTimeRfc1123/bodydatetimerfc1123/_serialization.py | 2 +- .../BodyDictionary/bodydictionary/_serialization.py | 2 +- .../AcceptanceTests/BodyDuration/bodyduration/_serialization.py | 2 +- .../AcceptanceTests/BodyFile/bodyfile/_serialization.py | 2 +- .../AcceptanceTests/BodyFormData/bodyformdata/_serialization.py | 2 +- .../bodyformurlencodeddata/_serialization.py | 2 +- .../AcceptanceTests/BodyInteger/bodyinteger/_serialization.py | 2 +- .../AcceptanceTests/BodyNumber/bodynumber/_serialization.py | 2 +- .../AcceptanceTests/BodyString/bodystring/_serialization.py | 2 +- .../AcceptanceTests/BodyTime/bodytime/_serialization.py | 2 +- .../AcceptanceTests/ClientEnum/clientenum/_serialization.py | 2 +- .../AcceptanceTests/Constants/constants/_serialization.py | 2 +- .../custombaseurlmoreoptions/_serialization.py | 2 +- .../ErrorWithSecrets/errorwithsecrets/_serialization.py | 2 +- .../ExtensibleEnums/extensibleenumsswagger/_serialization.py | 2 +- .../Expected/AcceptanceTests/Header/header/_serialization.py | 2 +- .../AcceptanceTests/Http/httpinfrastructure/_serialization.py | 2 +- .../incorrecterrorresponse/_serialization.py | 2 +- .../InternalOperation/internaloperation/_serialization.py | 2 +- .../AcceptanceTests/MediaTypes/mediatypes/_serialization.py | 2 +- .../MergePatchJson/mergepatchjson/_serialization.py | 2 +- .../ModelFlattening/modelflattening/_serialization.py | 2 +- .../MultipleInheritance/multipleinheritance/_serialization.py | 2 +- .../AcceptanceTests/NoOperations/nooperations/_serialization.py | 2 +- .../NonStringEnums/nonstringenums/_serialization.py | 2 +- .../AcceptanceTests/ObjectType/objecttype/_serialization.py | 2 +- .../PackageModeDataPlane/packagemode/_serialization.py | 2 +- .../ParameterFlattening/parameterflattening/_serialization.py | 2 +- .../parameterizedendpoint/_serialization.py | 2 +- .../Expected/AcceptanceTests/Report/report/_serialization.py | 2 +- .../ReservedWords/reservedwords/_serialization.py | 2 +- .../SecurityAadSwagger/securityaadswagger/_serialization.py | 2 +- .../securityaadswaggercredentialflag/_serialization.py | 2 +- .../SecurityKeySwagger/securitykeyswagger/_serialization.py | 2 +- .../securitykeyswaggercredentialflag/_serialization.py | 2 +- .../urlmulticollectionformat/_serialization.py | 2 +- .../Expected/AcceptanceTests/Xml/xmlservice/_serialization.py | 2 +- .../XmsErrorResponse/xmserrorresponse/_serialization.py | 2 +- .../additionalpropertiesversiontolerant/_serialization.py | 2 +- .../anythingversiontolerant/_serialization.py | 2 +- .../bodyarrayversiontolerant/_serialization.py | 2 +- .../bodybinaryversiontolerant/_serialization.py | 2 +- .../bodybooleanversiontolerant/_serialization.py | 2 +- .../bodybyteversiontolerant/_serialization.py | 2 +- .../bodycomplexversiontolerant/_serialization.py | 2 +- .../bodydatetimerfc1123versiontolerant/_serialization.py | 2 +- .../bodydatetimeversiontolerant/_serialization.py | 2 +- .../bodydateversiontolerant/_serialization.py | 2 +- .../bodydictionaryversiontolerant/_serialization.py | 2 +- .../bodydurationversiontolerant/_serialization.py | 2 +- .../bodyfileversiontolerant/_serialization.py | 2 +- .../bodyformdataversiontolerant/_serialization.py | 2 +- .../bodyformurlencodeddataversiontolerant/_serialization.py | 2 +- .../bodyintegerversiontolerant/_serialization.py | 2 +- .../bodynumberversiontolerant/_serialization.py | 2 +- .../bodystringversiontolerant/_serialization.py | 2 +- .../bodytimeversiontolerant/_serialization.py | 2 +- .../clientenumversiontolerant/_serialization.py | 2 +- .../constantsversiontolerant/_serialization.py | 2 +- .../custombaseurlmoreoptionsversiontolerant/_serialization.py | 2 +- .../custombaseurlversiontolerant/_serialization.py | 2 +- .../errorwithsecretsversiontolerant/_serialization.py | 2 +- .../extensibleenumsswaggerversiontolerant/_serialization.py | 2 +- .../headerversiontolerant/_serialization.py | 2 +- .../httpinfrastructureversiontolerant/_serialization.py | 2 +- .../incorrecterrorresponseversiontolerant/_serialization.py | 2 +- .../mediatypesversiontolerant/_serialization.py | 2 +- .../mergepatchjsonversiontolerant/_serialization.py | 2 +- .../modelflatteningversiontolerant/_serialization.py | 2 +- .../multipleinheritanceversiontolerant/_serialization.py | 2 +- .../anything_client/_serialization.py | 2 +- .../nooperationsversiontolerant/_serialization.py | 2 +- .../nonstringenumsversiontolerant/_serialization.py | 2 +- .../objecttypeversiontolerant/_serialization.py | 2 +- .../parameterflatteningversiontolerant/_serialization.py | 2 +- .../parameterizedendpointversiontolerant/_serialization.py | 2 +- .../reportversiontolerant/_serialization.py | 2 +- .../requiredoptionalversiontolerant/_serialization.py | 2 +- .../reservedwordsversiontolerant/_serialization.py | 2 +- .../securityaadswaggerversiontolerant/_serialization.py | 2 +- .../securitykeyswaggerversiontolerant/_serialization.py | 2 +- .../urlmulticollectionformatversiontolerant/_serialization.py | 2 +- .../UrlVersionTolerant/urlversiontolerant/_serialization.py | 2 +- .../validationversiontolerant/_serialization.py | 2 +- .../xmlserviceversiontolerant/_serialization.py | 2 +- .../xmserrorresponseversiontolerant/_serialization.py | 2 +- 152 files changed, 152 insertions(+), 152 deletions(-) diff --git a/packages/autorest.python/samples/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/_serialization.py b/packages/autorest.python/samples/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/_serialization.py +++ b/packages/autorest.python/samples/specification/azure-mgmt-test/test/azure-mgmt-test/azure/mgmt/test/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/azure-test/test/azure-test/azure/test/_generated/_serialization.py b/packages/autorest.python/samples/specification/azure-test/test/azure-test/azure/test/_generated/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/azure-test/test/azure-test/azure/test/_generated/_serialization.py +++ b/packages/autorest.python/samples/specification/azure-test/test/azure-test/azure/test/_generated/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/azure_key_credential/generated/azure/key/credential/sample/_serialization.py b/packages/autorest.python/samples/specification/azure_key_credential/generated/azure/key/credential/sample/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/azure_key_credential/generated/azure/key/credential/sample/_serialization.py +++ b/packages/autorest.python/samples/specification/azure_key_credential/generated/azure/key/credential/sample/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/basic/generated/azure/basic/sample/_serialization.py b/packages/autorest.python/samples/specification/basic/generated/azure/basic/sample/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/basic/generated/azure/basic/sample/_serialization.py +++ b/packages/autorest.python/samples/specification/basic/generated/azure/basic/sample/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/directives/generated/azure/directives/sample/_serialization.py b/packages/autorest.python/samples/specification/directives/generated/azure/directives/sample/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/directives/generated/azure/directives/sample/_serialization.py +++ b/packages/autorest.python/samples/specification/directives/generated/azure/directives/sample/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/management/generated/azure/mgmt/sample/_serialization.py b/packages/autorest.python/samples/specification/management/generated/azure/mgmt/sample/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/samples/specification/management/generated/azure/mgmt/sample/_serialization.py +++ b/packages/autorest.python/samples/specification/management/generated/azure/mgmt/sample/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/samples/specification/multiapi/generated/azure/multiapi/sample/_serialization.py b/packages/autorest.python/samples/specification/multiapi/generated/azure/multiapi/sample/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/samples/specification/multiapi/generated/azure/multiapi/sample/_serialization.py +++ b/packages/autorest.python/samples/specification/multiapi/generated/azure/multiapi/sample/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomPollerPager/custompollerpager/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Head/head/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Head/head/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Head/head/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Head/head/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadExceptions/headexceptions/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/HeadWithAzureKeyCredentialPolicy/headwithazurekeycredentialpolicy/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Lro/lro/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/head/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/head/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/head/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/head/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/paging/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/paging/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/paging/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeBatch/azure/packagemode/batch/paging/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeCustomize/azure/packagemode/customize/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeCustomize/azure/packagemode/customize/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeCustomize/azure/packagemode/customize/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeCustomize/azure/packagemode/customize/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/azure/packagemode/dataplane/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/azure/packagemode/dataplane/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/azure/packagemode/dataplane/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeDataPlane/azure/packagemode/dataplane/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/azure/package/mode/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/azure/package/mode/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/azure/package/mode/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/PackageModeMgmtPlane/azure/package/mode/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/Paging/paging/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/StorageManagementClient/storage/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/_serialization.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/_serialization.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureBodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureParameterGroupingVersionTolerant/azureparametergroupingversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureReportVersionTolerant/azurereportversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureReportVersionTolerant/azurereportversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureReportVersionTolerant/azurereportversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureReportVersionTolerant/azurereportversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/AzureSpecialsVersionTolerant/azurespecialpropertiesversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomPollerPagerVersionTolerant/custompollerpagerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/CustomUrlPagingVersionTolerant/custombaseurlpagingversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadExceptionsVersionTolerant/headexceptionsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/HeadVersionTolerant/headversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroPagingVersionTolerant/lropagingversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroPagingVersionTolerant/lropagingversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroPagingVersionTolerant/lropagingversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroPagingVersionTolerant/lropagingversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroVersionTolerant/lroversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroWithParameterizedEndpointsVersionTolerant/lrowithparameterizedendpointsversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroWithParameterizedEndpointsVersionTolerant/lrowithparameterizedendpointsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroWithParameterizedEndpointsVersionTolerant/lrowithparameterizedendpointsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/LroWithParameterizedEndpointsVersionTolerant/lrowithparameterizedendpointsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/PagingVersionTolerant/pagingversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/StorageManagementClientVersionTolerant/storageversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/_serialization.py b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/_serialization.py +++ b/packages/autorest.python/test/azure/version-tolerant/Expected/AcceptanceTests/SubscriptionIdApiVersionVersionTolerant/subscriptionidapiversionversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationCustomizedVersionTolerant/dpgcustomizationcustomizedversiontolerant/_serialization.py b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationCustomizedVersionTolerant/dpgcustomizationcustomizedversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationCustomizedVersionTolerant/dpgcustomizationcustomizedversiontolerant/_serialization.py +++ b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationCustomizedVersionTolerant/dpgcustomizationcustomizedversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationInitialVersionTolerant/dpgcustomizationinitialversiontolerant/_serialization.py b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationInitialVersionTolerant/dpgcustomizationinitialversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationInitialVersionTolerant/dpgcustomizationinitialversiontolerant/_serialization.py +++ b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGCustomizationInitialVersionTolerant/dpgcustomizationinitialversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/_serialization.py b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/_serialization.py +++ b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenInitialVersionTolerant/dpgservicedriveninitialversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/_serialization.py b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/_serialization.py +++ b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGServiceDrivenUpdateOneVersionTolerant/dpgservicedrivenupdateoneversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGTestModelsVersionTolerant/dpgtestmodelsversiontolerant/_serialization.py b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGTestModelsVersionTolerant/dpgtestmodelsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGTestModelsVersionTolerant/dpgtestmodelsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/dpg/version-tolerant/Expected/AcceptanceTests/DPGTestModelsVersionTolerant/dpgtestmodelsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/Multiapi/multiapi/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCredentialDefaultPolicy/multiapicredentialdefaultpolicy/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiCustomBaseUrl/multiapicustombaseurl/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiDataPlane/multiapidataplane/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiKeywordOnly/multiapikeywordonly/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiKeywordOnly/multiapikeywordonly/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiKeywordOnly/multiapikeywordonly/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiKeywordOnly/multiapikeywordonly/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiNoAsync/multiapinoasync/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiSecurity/multiapisecurity/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiSecurity/multiapisecurity/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiSecurity/multiapisecurity/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiSecurity/multiapisecurity/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/_serialization.py b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/_serialization.py index 84b9785ccf4..b415269eb98 100644 --- a/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/_serialization.py +++ b/packages/autorest.python/test/multiapi/Expected/AcceptanceTests/MultiapiWithSubmodule/multiapiwithsubmodule/submodule/_serialization.py @@ -410,7 +410,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/unittests/storage_models/serialization.py b/packages/autorest.python/test/unittests/storage_models/serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/unittests/storage_models/serialization.py +++ b/packages/autorest.python/test/unittests/storage_models/serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Anything/anything/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Anything/anything/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Anything/anything/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Anything/anything/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArray/bodyarray/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyArrayWithNamespaceFolders/vanilla/body/array/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormUrlEncodedData/bodyformurlencodeddata/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyString/bodystring/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ClientEnum/clientenum/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ClientEnum/clientenum/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ClientEnum/clientenum/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ClientEnum/clientenum/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Constants/constants/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ErrorWithSecrets/errorwithsecrets/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ErrorWithSecrets/errorwithsecrets/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ErrorWithSecrets/errorwithsecrets/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ErrorWithSecrets/errorwithsecrets/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ExtensibleEnums/extensibleenumsswagger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Header/header/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/internaloperation/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/internaloperation/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/internaloperation/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/InternalOperation/internaloperation/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MediaTypes/mediatypes/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MergePatchJson/mergepatchjson/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MergePatchJson/mergepatchjson/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MergePatchJson/mergepatchjson/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MergePatchJson/mergepatchjson/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ModelFlattening/modelflattening/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ObjectType/objecttype/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ObjectType/objecttype/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ObjectType/objecttype/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ObjectType/objecttype/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/packagemode/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/packagemode/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/packagemode/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/PackageModeDataPlane/packagemode/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterizedEndpoint/parameterizedendpoint/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterizedEndpoint/parameterizedendpoint/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterizedEndpoint/parameterizedendpoint/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterizedEndpoint/parameterizedendpoint/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ReservedWords/reservedwords/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwagger/securityaadswagger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwaggerCredentialFlag/securityaadswaggercredentialflag/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwaggerCredentialFlag/securityaadswaggercredentialflag/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwaggerCredentialFlag/securityaadswaggercredentialflag/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityAadSwaggerCredentialFlag/securityaadswaggercredentialflag/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwagger/securitykeyswagger/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwaggerCredentialFlag/securitykeyswaggercredentialflag/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwaggerCredentialFlag/securitykeyswaggercredentialflag/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwaggerCredentialFlag/securitykeyswaggercredentialflag/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/SecurityKeySwaggerCredentialFlag/securitykeyswaggercredentialflag/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Xml/xmlservice/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/_serialization.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/_serialization.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AdditionalPropertiesVersionTolerant/additionalpropertiesversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AnythingVersionTolerant/anythingversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AnythingVersionTolerant/anythingversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AnythingVersionTolerant/anythingversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/AnythingVersionTolerant/anythingversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyArrayVersionTolerant/bodyarrayversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBinaryVersionTolerant/bodybinaryversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyBooleanVersionTolerant/bodybooleanversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyByteVersionTolerant/bodybyteversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyComplexVersionTolerant/bodycomplexversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeRfc1123VersionTolerant/bodydatetimerfc1123versiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateTimeVersionTolerant/bodydatetimeversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDateVersionTolerant/bodydateversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDictionaryVersionTolerant/bodydictionaryversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyDurationVersionTolerant/bodydurationversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFileVersionTolerant/bodyfileversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormDataVersionTolerant/bodyformdataversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyFormUrlEncodedDataVersionTolerant/bodyformurlencodeddataversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyIntegerVersionTolerant/bodyintegerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyNumberVersionTolerant/bodynumberversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyStringVersionTolerant/bodystringversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/BodyTimeVersionTolerant/bodytimeversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ClientEnumVersionTolerant/clientenumversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ClientEnumVersionTolerant/clientenumversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ClientEnumVersionTolerant/clientenumversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ClientEnumVersionTolerant/clientenumversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ConstantsVersionTolerant/constantsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriMoreOptionsVersionTolerant/custombaseurlmoreoptionsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/CustomBaseUriVersionTolerant/custombaseurlversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ErrorWithSecretsVersionTolerant/errorwithsecretsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ErrorWithSecretsVersionTolerant/errorwithsecretsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ErrorWithSecretsVersionTolerant/errorwithsecretsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ErrorWithSecretsVersionTolerant/errorwithsecretsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ExtensibleEnumsVersionTolerant/extensibleenumsswaggerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HeaderVersionTolerant/headerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/HttpVersionTolerant/httpinfrastructureversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/IncorrectErrorResponseVersionTolerant/incorrecterrorresponseversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/IncorrectErrorResponseVersionTolerant/incorrecterrorresponseversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/IncorrectErrorResponseVersionTolerant/incorrecterrorresponseversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/IncorrectErrorResponseVersionTolerant/incorrecterrorresponseversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MediaTypesVersionTolerant/mediatypesversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MediaTypesVersionTolerant/mediatypesversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MediaTypesVersionTolerant/mediatypesversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MediaTypesVersionTolerant/mediatypesversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MergePatchJsonVersionTolerant/mergepatchjsonversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MergePatchJsonVersionTolerant/mergepatchjsonversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MergePatchJsonVersionTolerant/mergepatchjsonversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MergePatchJsonVersionTolerant/mergepatchjsonversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ModelFlatteningVersionTolerant/modelflatteningversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ModelFlatteningVersionTolerant/modelflatteningversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ModelFlatteningVersionTolerant/modelflatteningversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ModelFlatteningVersionTolerant/modelflatteningversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MultipleInheritanceVersionTolerant/multipleinheritanceversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MultipleInheritanceVersionTolerant/multipleinheritanceversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MultipleInheritanceVersionTolerant/multipleinheritanceversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/MultipleInheritanceVersionTolerant/multipleinheritanceversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoNamespaceFlagVersionTolerant/anything_client/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoNamespaceFlagVersionTolerant/anything_client/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoNamespaceFlagVersionTolerant/anything_client/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoNamespaceFlagVersionTolerant/anything_client/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoOperationsVersionTolerant/nooperationsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoOperationsVersionTolerant/nooperationsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoOperationsVersionTolerant/nooperationsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NoOperationsVersionTolerant/nooperationsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/NonStringEnumsVersionTolerant/nonstringenumsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ObjectTypeVersionTolerant/objecttypeversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ObjectTypeVersionTolerant/objecttypeversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ObjectTypeVersionTolerant/objecttypeversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ObjectTypeVersionTolerant/objecttypeversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterFlatteningVersionTolerant/parameterflatteningversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterizedEndpointVersionTolerant/parameterizedendpointversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterizedEndpointVersionTolerant/parameterizedendpointversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterizedEndpointVersionTolerant/parameterizedendpointversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ParameterizedEndpointVersionTolerant/parameterizedendpointversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReportVersionTolerant/reportversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReportVersionTolerant/reportversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReportVersionTolerant/reportversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReportVersionTolerant/reportversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/RequiredOptionalVersionTolerant/requiredoptionalversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ReservedWordsVersionTolerant/reservedwordsversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityAadSwaggerVersionTolerant/securityaadswaggerversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityAadSwaggerVersionTolerant/securityaadswaggerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityAadSwaggerVersionTolerant/securityaadswaggerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityAadSwaggerVersionTolerant/securityaadswaggerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityKeySwaggerVersionTolerant/securitykeyswaggerversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityKeySwaggerVersionTolerant/securitykeyswaggerversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityKeySwaggerVersionTolerant/securitykeyswaggerversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/SecurityKeySwaggerVersionTolerant/securitykeyswaggerversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlMultiCollectionFormatVersionTolerant/urlmulticollectionformatversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/UrlVersionTolerant/urlversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ValidationVersionTolerant/validationversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ValidationVersionTolerant/validationversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ValidationVersionTolerant/validationversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/ValidationVersionTolerant/validationversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmlVersionTolerant/xmlserviceversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) diff --git a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/_serialization.py b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/_serialization.py index e2a20b1d534..7a0232de5dd 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/_serialization.py +++ b/packages/autorest.python/test/vanilla/version-tolerant/Expected/AcceptanceTests/XmsErrorResponseVersionTolerant/xmserrorresponseversiontolerant/_serialization.py @@ -411,7 +411,7 @@ def from_dict( :param function key_extractors: A key extractor function. :param str content_type: JSON by default, set application/xml if XML. :returns: An instance of this model - :raises: DeserializationError if something went wrong + :raises DeserializationError: if something went wrong :rtype: Self """ deserializer = Deserializer(cls._infer_class_models()) From 0945a983f0527002d2cf134b254ec424d855031f Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 6 Mar 2025 14:39:56 +0800 Subject: [PATCH 4/6] update changelog --- .../auto-microsoft-publish-python-2025-2-6-14-33-11.md | 8 ++++++++ .../auto-microsoft-publish-python-2025-2-6-14-33-33.md | 8 ++++++++ .../auto-microsoft-publish-python-2025-2-6-14-33-56.md | 8 ++++++++ .../auto-microsoft-publish-python-2025-2-6-14-34-21.md | 8 ++++++++ packages/autorest.python/test/azure/legacy/tox.ini | 2 +- .../autorest.python/test/azure/version-tolerant/tox.ini | 2 +- .../autorest.python/test/dpg/version-tolerant/tox.ini | 2 +- packages/autorest.python/test/multiapi/tox.ini | 2 +- packages/autorest.python/test/vanilla/legacy/tox.ini | 2 +- .../autorest.python/test/vanilla/version-tolerant/tox.ini | 2 +- packages/typespec-python/test/azure/tox.ini | 2 +- packages/typespec-python/test/unbranded/tox.ini | 2 +- 12 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md create mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md create mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md create mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md new file mode 100644 index 00000000000..7cf3bcd044f --- /dev/null +++ b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md @@ -0,0 +1,8 @@ +--- +changeKind: feature +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Report TCGC diagnostics after create SDK context. \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md new file mode 100644 index 00000000000..c38c4bb47b4 --- /dev/null +++ b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Fix sphinx syntax for raising `DeserializationError` in serialization file \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md new file mode 100644 index 00000000000..31a7b39c7fc --- /dev/null +++ b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +remove useless docstring for models \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md new file mode 100644 index 00000000000..638bd151499 --- /dev/null +++ b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md @@ -0,0 +1,8 @@ +--- +changeKind: fix +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Don't throw error directly when emitter crash \ No newline at end of file diff --git a/packages/autorest.python/test/azure/legacy/tox.ini b/packages/autorest.python/test/azure/legacy/tox.ini index d2fad1ddb23..0a224e22bc8 100644 --- a/packages/autorest.python/test/azure/legacy/tox.ini +++ b/packages/autorest.python/test/azure/legacy/tox.ini @@ -16,5 +16,5 @@ commands = [testenv:apiview] commands = - pip install ../../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../../eng/scripts/run_apiview.py -t azure -g legacy diff --git a/packages/autorest.python/test/azure/version-tolerant/tox.ini b/packages/autorest.python/test/azure/version-tolerant/tox.ini index fafcb8504c5..252d42ee16f 100644 --- a/packages/autorest.python/test/azure/version-tolerant/tox.ini +++ b/packages/autorest.python/test/azure/version-tolerant/tox.ini @@ -32,5 +32,5 @@ commands = [testenv:apiview] commands = - pip install ../../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../../eng/scripts/run_apiview.py -t azure -g version-tolerant {posargs} diff --git a/packages/autorest.python/test/dpg/version-tolerant/tox.ini b/packages/autorest.python/test/dpg/version-tolerant/tox.ini index a8a4928d16c..cbf8bdc8890 100644 --- a/packages/autorest.python/test/dpg/version-tolerant/tox.ini +++ b/packages/autorest.python/test/dpg/version-tolerant/tox.ini @@ -32,5 +32,5 @@ commands = [testenv:apiview] commands = - pip install ../../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../../eng/scripts/run_apiview.py -t dpg -g version-tolerant diff --git a/packages/autorest.python/test/multiapi/tox.ini b/packages/autorest.python/test/multiapi/tox.ini index eafc575541c..168c919ef02 100644 --- a/packages/autorest.python/test/multiapi/tox.ini +++ b/packages/autorest.python/test/multiapi/tox.ini @@ -31,5 +31,5 @@ commands = [testenv:apiview] commands = - pip install ../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../eng/scripts/run_apiview.py -t multiapi diff --git a/packages/autorest.python/test/vanilla/legacy/tox.ini b/packages/autorest.python/test/vanilla/legacy/tox.ini index b3ed9be208b..4cbd7d922c8 100644 --- a/packages/autorest.python/test/vanilla/legacy/tox.ini +++ b/packages/autorest.python/test/vanilla/legacy/tox.ini @@ -16,7 +16,7 @@ commands = [testenv:apiview] commands = - pip install ../../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../../eng/scripts/run_apiview.py -t vanilla -g legacy [testenv:sphinx] diff --git a/packages/autorest.python/test/vanilla/version-tolerant/tox.ini b/packages/autorest.python/test/vanilla/version-tolerant/tox.ini index 7f8c885f0cc..19af4d2abbc 100644 --- a/packages/autorest.python/test/vanilla/version-tolerant/tox.ini +++ b/packages/autorest.python/test/vanilla/version-tolerant/tox.ini @@ -32,5 +32,5 @@ commands = [testenv:apiview] commands = - pip install ../../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../../eng/scripts/run_apiview.py -t vanilla -g version-tolerant diff --git a/packages/typespec-python/test/azure/tox.ini b/packages/typespec-python/test/azure/tox.ini index cad1e10f263..39fa29c1e38 100644 --- a/packages/typespec-python/test/azure/tox.ini +++ b/packages/typespec-python/test/azure/tox.ini @@ -33,5 +33,5 @@ commands = [testenv:apiview] envlist=py311 commands = - pip install ../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" python ../../../../eng/scripts/run_apiview.py -p typespec-python -t azure -s "generated" {posargs} diff --git a/packages/typespec-python/test/unbranded/tox.ini b/packages/typespec-python/test/unbranded/tox.ini index 9186d2c25b0..8d78747bfcf 100644 --- a/packages/typespec-python/test/unbranded/tox.ini +++ b/packages/typespec-python/test/unbranded/tox.ini @@ -33,5 +33,5 @@ commands = [testenv:apiview] envlist=py311 commands = + pip install apiview-stub-generator==0.3.13 --index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" pip install ../../../../../azure-sdk-tools/packages/python-packages/apiview-stub-generator --extra-index-url="https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-python/pypi/simple/" - python ../../../../eng/scripts/run_apiview.py -p typespec-python -t unbranded -s "generated" {posargs} From 73a951f067b95d6ab9b63393aa02e36d561fc2ef Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 6 Mar 2025 15:45:27 +0800 Subject: [PATCH 5/6] update --- ...to-microsoft-publish-python-2025-2-6-14-33-11.md | 8 -------- ...to-microsoft-publish-python-2025-2-6-14-33-33.md | 8 -------- ...to-microsoft-publish-python-2025-2-6-14-33-56.md | 8 -------- ...to-microsoft-publish-python-2025-2-6-14-34-21.md | 8 -------- .chronus/changes/fix-nightly-2025-2-3-17-27-31.md | 7 ------- .chronus/changes/msyyc-patch-1-2025-1-28-15-9-32.md | 7 ------- packages/autorest.python/CHANGELOG.md | 13 +++++++++++++ packages/autorest.python/package.json | 4 ++-- packages/typespec-python/CHANGELOG.md | 13 +++++++++++++ packages/typespec-python/package.json | 4 ++-- 10 files changed, 30 insertions(+), 50 deletions(-) delete mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md delete mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md delete mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md delete mode 100644 .chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md delete mode 100644 .chronus/changes/fix-nightly-2025-2-3-17-27-31.md delete mode 100644 .chronus/changes/msyyc-patch-1-2025-1-28-15-9-32.md diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md deleted file mode 100644 index 7cf3bcd044f..00000000000 --- a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-11.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: feature -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Report TCGC diagnostics after create SDK context. \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md deleted file mode 100644 index c38c4bb47b4..00000000000 --- a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-33.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Fix sphinx syntax for raising `DeserializationError` in serialization file \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md deleted file mode 100644 index 31a7b39c7fc..00000000000 --- a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-33-56.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -remove useless docstring for models \ No newline at end of file diff --git a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md b/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md deleted file mode 100644 index 638bd151499..00000000000 --- a/.chronus/changes/auto-microsoft-publish-python-2025-2-6-14-34-21.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -changeKind: fix -packages: - - "@autorest/python" - - "@azure-tools/typespec-python" ---- - -Don't throw error directly when emitter crash \ No newline at end of file diff --git a/.chronus/changes/fix-nightly-2025-2-3-17-27-31.md b/.chronus/changes/fix-nightly-2025-2-3-17-27-31.md deleted file mode 100644 index e02a792fc22..00000000000 --- a/.chronus/changes/fix-nightly-2025-2-3-17-27-31.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-python" ---- - -add task pool for regeneration \ No newline at end of file diff --git a/.chronus/changes/msyyc-patch-1-2025-1-28-15-9-32.md b/.chronus/changes/msyyc-patch-1-2025-1-28-15-9-32.md deleted file mode 100644 index e631598685b..00000000000 --- a/.chronus/changes/msyyc-patch-1-2025-1-28-15-9-32.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -changeKind: internal -packages: - - "@azure-tools/typespec-python" ---- - -Update bugs url of package.json \ No newline at end of file diff --git a/packages/autorest.python/CHANGELOG.md b/packages/autorest.python/CHANGELOG.md index b765ea6f371..6dd38c6616e 100644 --- a/packages/autorest.python/CHANGELOG.md +++ b/packages/autorest.python/CHANGELOG.md @@ -1,5 +1,18 @@ # Release +## 6.29.0 + +### Bug Fixes + +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Fix sphinx syntax for raising `DeserializationError` in serialization file +- [#3051](https://github.com/Azure/autorest.python/pull/3051) remove useless docstring for models +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Don't throw error directly when emitter crash + +### Features + +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Report TCGC diagnostics after create SDK context. + + ## 6.28.4 No changes, version bump only. diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 6bfd5168257..d070597ca9c 100644 --- a/packages/autorest.python/package.json +++ b/packages/autorest.python/package.json @@ -1,6 +1,6 @@ { "name": "@autorest/python", - "version": "6.28.4", + "version": "6.29.0", "description": "The Python extension for generators in AutoRest.", "scripts": { "start": "node ./scripts/run-python3.js ./scripts/start.py", @@ -47,4 +47,4 @@ "requirements.txt", "generator/" ] -} \ No newline at end of file +} diff --git a/packages/typespec-python/CHANGELOG.md b/packages/typespec-python/CHANGELOG.md index 2488a498ebf..b2f9d0be75b 100644 --- a/packages/typespec-python/CHANGELOG.md +++ b/packages/typespec-python/CHANGELOG.md @@ -1,5 +1,18 @@ # Release +## 0.39.0 + +### Bug Fixes + +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Fix sphinx syntax for raising `DeserializationError` in serialization file +- [#3051](https://github.com/Azure/autorest.python/pull/3051) remove useless docstring for models +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Don't throw error directly when emitter crash + +### Features + +- [#3051](https://github.com/Azure/autorest.python/pull/3051) Report TCGC diagnostics after create SDK context. + + ## 0.38.4 No changes, version bump only. diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 71c6f61b0d3..c597df8d6a9 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -1,6 +1,6 @@ { "name": "@azure-tools/typespec-python", - "version": "0.38.4", + "version": "0.39.0", "author": "Microsoft Corporation", "description": "TypeSpec emitter for Python SDKs", "homepage": "https://github.com/Azure/autorest.python", @@ -89,4 +89,4 @@ "chalk": "5.3.0", "@types/fs-extra": "11.0.4" } -} \ No newline at end of file +} From 9a5187acae4f2992ae674b7504e585923e04bd5c Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 6 Mar 2025 16:55:33 +0800 Subject: [PATCH 6/6] update dependency --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 2 +- pnpm-lock.yaml | 17 ++++++++--------- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index d070597ca9c..d3c59801add 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz", + "@typespec/http-client-python": "~0.7.0", "@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 c597df8d6a9..944bcaf4b11 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -60,7 +60,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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz", + "@typespec/http-client-python": "~0.7.0", "fs-extra": "~11.2.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 97feb6535e2..6e37e2f2fe8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -57,8 +57,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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(okmb572npleddk7eu2wecik6ue) + specifier: ~0.7.0 + version: 0.7.0(okmb572npleddk7eu2wecik6ue) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -79,8 +79,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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(phqovtct7xb2vaqtokn2tbhedm) + specifier: ~0.7.0 + version: 0.7.0(phqovtct7xb2vaqtokn2tbhedm) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1613,9 +1613,8 @@ packages: engines: {node: '>=18.0.0'} hasBin: true - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz} - version: 0.7.0 + '@typespec/http-client-python@0.7.0': + resolution: {integrity: sha512-iDpFxtmgm1MSSbHpY2C1dqtZLt3poedbLasLUn/ZEAriZDjo+Fg8DugyNFCYSszElFImGP/vqQBfrLRb58xtDg==} engines: {node: '>=18.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.52.0 <1.0.0' @@ -6436,7 +6435,7 @@ snapshots: - bluebird - supports-color - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(okmb572npleddk7eu2wecik6ue)': + '@typespec/http-client-python@0.7.0(okmb572npleddk7eu2wecik6ue)': dependencies: '@azure-tools/typespec-autorest': 0.52.0(6uu33tjguzoy44vb3pkhjaszly) '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.10.10)))) @@ -6456,7 +6455,7 @@ snapshots: - bufferutil - utf-8-validate - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDYyMzY3Ni9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.7.0.tgz(phqovtct7xb2vaqtokn2tbhedm)': + '@typespec/http-client-python@0.7.0(phqovtct7xb2vaqtokn2tbhedm)': dependencies: '@azure-tools/typespec-autorest': 0.52.0(3rl4rvlhrau42sgbqnofgdnzru) '@azure-tools/typespec-azure-core': 0.52.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5)))(@typespec/rest@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))(@typespec/http@0.66.0(@typespec/compiler@0.66.0(@types/node@22.5.5))))