From 59ee87f4667510e0a98e00d8665eb0c3b28c2dab Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 17 Apr 2025 01:20:46 +0000 Subject: [PATCH 1/3] Update dependencies (2025-04-17 01:20:46) --- packages/autorest.python/package.json | 4 ++-- packages/typespec-python/package.json | 4 ++-- pnpm-lock.yaml | 15 ++++++++------- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 9a5d3789b0c..f5cbfc2c78a 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.9.3-dev.1", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.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 459ac5bb419..3f3450f2a8d 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -64,7 +64,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "~0.9.3-dev.1", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { @@ -97,4 +97,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 c922c9634fc..1341c0a14ec 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.9.3-dev.1 - version: 0.9.3-dev.1(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) 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.9.3-dev.1 - version: 0.9.3-dev.1(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1538,8 +1538,9 @@ packages: peerDependencies: '@typespec/compiler': ^1.0.0-rc.0 - '@typespec/http-client-python@0.9.3-dev.1': - resolution: {integrity: sha512-DaKXTGVkxo9AobzlkbvZePj/0xLuQYo/auiaWZOLMkybox8tQ1OHmsaZ26wdvVwR4bm7l9XstBwn8diKVv6JKA==} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz} + version: 0.9.2 engines: {node: '>=20.0.0'} peerDependencies: '@azure-tools/typespec-autorest': '>=0.54.0 <1.0.0' @@ -5893,7 +5894,7 @@ snapshots: dependencies: '@typespec/compiler': 1.0.0-rc.0(@types/node@22.13.17) - '@typespec/http-client-python@0.9.3-dev.1(2ivfmxvrftapo7cbuxsaae6yq4)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4)': dependencies: '@azure-tools/typespec-autorest': 0.54.0(eijwshhpe4ydfv4uxokr3dajqe) '@azure-tools/typespec-azure-core': 0.54.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))))(@typespec/rest@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))))) From 6475f28df99a5296cc13fbd80189a4fa293baa90 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 17 Apr 2025 01:25:14 +0000 Subject: [PATCH 2/3] Regenerate for typespec-python (2025-04-17 01:25:14) --- .../_operations/_operations.py | 2 +- .../aio/_operations/_operations.py | 2 +- .../second/_operations/_operations.py | 2 +- .../second/aio/_operations/_operations.py | 2 +- .../clientnamespace/second/models/_models.py | 2 +- .../property/aio/operations/_operations.py | 74 +++++----- .../property/operations/_operations.py | 74 +++++----- .../property/aio/operations/_operations.py | 36 ++--- .../property/operations/_operations.py | 36 ++--- .../aio/operations/_operations.py | 4 +- .../explicitbody/operations/_operations.py | 4 +- .../model/aio/operations/_operations.py | 8 +- .../spread/model/operations/_operations.py | 8 +- .../aio/operations/_operations.py | 2 +- .../differentbody/operations/_operations.py | 2 +- .../formdata/aio/operations/_operations.py | 4 +- .../nonstring/aio/operations/_operations.py | 4 +- .../nonstring/operations/_operations.py | 4 +- .../formdata/operations/_operations.py | 4 +- .../property/aio/operations/_operations.py | 7 +- .../json/property/operations/_operations.py | 7 +- .../aio/operations/_operations.py | 4 +- .../modelproperties/operations/_operations.py | 4 +- .../models/aio/operations/_operations.py | 132 +++++++++--------- .../models/operations/_operations.py | 132 +++++++++--------- 25 files changed, 283 insertions(+), 277 deletions(-) diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py index 11b8a845ba2..82c4d1a25d5 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/_operations/_operations.py @@ -56,7 +56,7 @@ def get_first(self, **kwargs: Any) -> _first_models2.FirstClientResult: """get_first. :return: FirstClientResult. The FirstClientResult is compatible with MutableMapping - :rtype: ~client.clientnamespace.models.FirstClientResult + :rtype: ~client.clientnamespace.first.models.FirstClientResult :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py index 6ae534bec77..7ff25f6a595 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/aio/_operations/_operations.py @@ -39,7 +39,7 @@ async def get_first(self, **kwargs: Any) -> _first_models3.FirstClientResult: """get_first. :return: FirstClientResult. The FirstClientResult is compatible with MutableMapping - :rtype: ~client.clientnamespace.models.FirstClientResult + :rtype: ~client.clientnamespace.first.models.FirstClientResult :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py index 6da54597a40..8b21d5c4c0d 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/_operations/_operations.py @@ -56,7 +56,7 @@ def get_second(self, **kwargs: Any) -> _models1.SecondClientResult: """get_second. :return: SecondClientResult. The SecondClientResult is compatible with MutableMapping - :rtype: ~client.clientnamespace.models.SecondClientResult + :rtype: ~client.clientnamespace.second.models.SecondClientResult :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py index 01bcbcd05e5..81e31630dcd 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/aio/_operations/_operations.py @@ -39,7 +39,7 @@ async def get_second(self, **kwargs: Any) -> _models2.SecondClientResult: """get_second. :return: SecondClientResult. The SecondClientResult is compatible with MutableMapping - :rtype: ~client.clientnamespace.models.SecondClientResult + :rtype: ~client.clientnamespace.second.models.SecondClientResult :raises ~azure.core.exceptions.HttpResponseError: """ error_map: MutableMapping = { 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 b7624ebb7f5..e824ec97b4b 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 @@ -20,7 +20,7 @@ class SecondClientResult(_model_base.Model): """SecondClientResult. :ivar type: Required. "second" - :vartype type: str or ~client.clientnamespace.models.SecondClientEnumType + :vartype type: str or ~client.clientnamespace.second.sub.models.SecondClientEnumType """ type: Union[str, "_sub_models2.SecondClientEnumType"] = rest_field( diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/aio/operations/_operations.py index 910b2262c75..2ad35b755fe 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/aio/operations/_operations.py @@ -61,12 +61,12 @@ async def default( """default. :param body: Required. - :type body: ~encode.duration.models.DefaultDurationProperty + :type body: ~encode.duration.property.models.DefaultDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -82,7 +82,7 @@ async def default( Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -98,7 +98,7 @@ async def default( Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -108,9 +108,9 @@ async def default( """default. :param body: Is one of the following types: DefaultDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.DefaultDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.DefaultDurationProperty or JSON or IO[bytes] :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -176,12 +176,12 @@ async def iso8601( """iso8601. :param body: Required. - :type body: ~encode.duration.models.ISO8601DurationProperty + :type body: ~encode.duration.property.models.ISO8601DurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -197,7 +197,7 @@ async def iso8601( Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -213,7 +213,7 @@ async def iso8601( Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -223,9 +223,9 @@ async def iso8601( """iso8601. :param body: Is one of the following types: ISO8601DurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.ISO8601DurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.ISO8601DurationProperty or JSON or IO[bytes] :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -291,13 +291,13 @@ async def int32_seconds( """int32_seconds. :param body: Required. - :type body: ~encode.duration.models.Int32SecondsDurationProperty + :type body: ~encode.duration.property.models.Int32SecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -314,7 +314,7 @@ async def int32_seconds( :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -331,7 +331,7 @@ async def int32_seconds( :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -342,10 +342,10 @@ async def int32_seconds( :param body: Is one of the following types: Int32SecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.Int32SecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.Int32SecondsDurationProperty or JSON or IO[bytes] :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -411,13 +411,13 @@ async def float_seconds( """float_seconds. :param body: Required. - :type body: ~encode.duration.models.FloatSecondsDurationProperty + :type body: ~encode.duration.property.models.FloatSecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -434,7 +434,7 @@ async def float_seconds( :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -451,7 +451,7 @@ async def float_seconds( :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -462,10 +462,10 @@ async def float_seconds( :param body: Is one of the following types: FloatSecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.FloatSecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.FloatSecondsDurationProperty or JSON or IO[bytes] :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -531,13 +531,13 @@ async def float64_seconds( """float64_seconds. :param body: Required. - :type body: ~encode.duration.models.Float64SecondsDurationProperty + :type body: ~encode.duration.property.models.Float64SecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -554,7 +554,7 @@ async def float64_seconds( :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -571,7 +571,7 @@ async def float64_seconds( :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -582,10 +582,11 @@ async def float64_seconds( :param body: Is one of the following types: Float64SecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.Float64SecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.Float64SecondsDurationProperty or JSON or + IO[bytes] :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -651,13 +652,13 @@ async def float_seconds_array( """float_seconds_array. :param body: Required. - :type body: ~encode.duration.models.FloatSecondsDurationArrayProperty + :type body: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -674,7 +675,7 @@ async def float_seconds_array( :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -691,7 +692,7 @@ async def float_seconds_array( :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -702,10 +703,11 @@ async def float_seconds_array( :param body: Is one of the following types: FloatSecondsDurationArrayProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.FloatSecondsDurationArrayProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.FloatSecondsDurationArrayProperty or JSON or + IO[bytes] :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/operations/_operations.py index 2a131212039..e447aeda464 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/operations/_operations.py @@ -158,12 +158,12 @@ def default( """default. :param body: Required. - :type body: ~encode.duration.models.DefaultDurationProperty + :type body: ~encode.duration.property.models.DefaultDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -179,7 +179,7 @@ def default( Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -195,7 +195,7 @@ def default( Default value is "application/json". :paramtype content_type: str :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -205,9 +205,9 @@ def default( """default. :param body: Is one of the following types: DefaultDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.DefaultDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.DefaultDurationProperty or JSON or IO[bytes] :return: DefaultDurationProperty. The DefaultDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.DefaultDurationProperty + :rtype: ~encode.duration.property.models.DefaultDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -273,12 +273,12 @@ def iso8601( """iso8601. :param body: Required. - :type body: ~encode.duration.models.ISO8601DurationProperty + :type body: ~encode.duration.property.models.ISO8601DurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -294,7 +294,7 @@ def iso8601( Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -310,7 +310,7 @@ def iso8601( Default value is "application/json". :paramtype content_type: str :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -320,9 +320,9 @@ def iso8601( """iso8601. :param body: Is one of the following types: ISO8601DurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.ISO8601DurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.ISO8601DurationProperty or JSON or IO[bytes] :return: ISO8601DurationProperty. The ISO8601DurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.ISO8601DurationProperty + :rtype: ~encode.duration.property.models.ISO8601DurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -388,13 +388,13 @@ def int32_seconds( """int32_seconds. :param body: Required. - :type body: ~encode.duration.models.Int32SecondsDurationProperty + :type body: ~encode.duration.property.models.Int32SecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -411,7 +411,7 @@ def int32_seconds( :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -428,7 +428,7 @@ def int32_seconds( :paramtype content_type: str :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -439,10 +439,10 @@ def int32_seconds( :param body: Is one of the following types: Int32SecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.Int32SecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.Int32SecondsDurationProperty or JSON or IO[bytes] :return: Int32SecondsDurationProperty. The Int32SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Int32SecondsDurationProperty + :rtype: ~encode.duration.property.models.Int32SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -508,13 +508,13 @@ def float_seconds( """float_seconds. :param body: Required. - :type body: ~encode.duration.models.FloatSecondsDurationProperty + :type body: ~encode.duration.property.models.FloatSecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -531,7 +531,7 @@ def float_seconds( :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -548,7 +548,7 @@ def float_seconds( :paramtype content_type: str :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -559,10 +559,10 @@ def float_seconds( :param body: Is one of the following types: FloatSecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.FloatSecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.FloatSecondsDurationProperty or JSON or IO[bytes] :return: FloatSecondsDurationProperty. The FloatSecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -628,13 +628,13 @@ def float64_seconds( """float64_seconds. :param body: Required. - :type body: ~encode.duration.models.Float64SecondsDurationProperty + :type body: ~encode.duration.property.models.Float64SecondsDurationProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -651,7 +651,7 @@ def float64_seconds( :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -668,7 +668,7 @@ def float64_seconds( :paramtype content_type: str :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -679,10 +679,11 @@ def float64_seconds( :param body: Is one of the following types: Float64SecondsDurationProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.Float64SecondsDurationProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.Float64SecondsDurationProperty or JSON or + IO[bytes] :return: Float64SecondsDurationProperty. The Float64SecondsDurationProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.Float64SecondsDurationProperty + :rtype: ~encode.duration.property.models.Float64SecondsDurationProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -748,13 +749,13 @@ def float_seconds_array( """float_seconds_array. :param body: Required. - :type body: ~encode.duration.models.FloatSecondsDurationArrayProperty + :type body: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -771,7 +772,7 @@ def float_seconds_array( :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -788,7 +789,7 @@ def float_seconds_array( :paramtype content_type: str :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -799,10 +800,11 @@ def float_seconds_array( :param body: Is one of the following types: FloatSecondsDurationArrayProperty, JSON, IO[bytes] Required. - :type body: ~encode.duration.models.FloatSecondsDurationArrayProperty or JSON or IO[bytes] + :type body: ~encode.duration.property.models.FloatSecondsDurationArrayProperty or JSON or + IO[bytes] :return: FloatSecondsDurationArrayProperty. The FloatSecondsDurationArrayProperty is compatible with MutableMapping - :rtype: ~encode.duration.models.FloatSecondsDurationArrayProperty + :rtype: ~encode.duration.property.models.FloatSecondsDurationArrayProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/aio/operations/_operations.py index 00486d57e51..88cf13a3bd0 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/aio/operations/_operations.py @@ -58,12 +58,12 @@ async def safeint_as_string( """safeint_as_string. :param value: Required. - :type value: ~encode.numeric.models.SafeintAsStringProperty + :type value: ~encode.numeric.property.models.SafeintAsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -79,7 +79,7 @@ async def safeint_as_string( Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -95,7 +95,7 @@ async def safeint_as_string( Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -105,9 +105,9 @@ async def safeint_as_string( """safeint_as_string. :param value: Is one of the following types: SafeintAsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.SafeintAsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.SafeintAsStringProperty or JSON or IO[bytes] :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -173,12 +173,12 @@ async def uint32_as_string_optional( """uint32_as_string_optional. :param value: Required. - :type value: ~encode.numeric.models.Uint32AsStringProperty + :type value: ~encode.numeric.property.models.Uint32AsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -194,7 +194,7 @@ async def uint32_as_string_optional( Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -210,7 +210,7 @@ async def uint32_as_string_optional( Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -220,9 +220,9 @@ async def uint32_as_string_optional( """uint32_as_string_optional. :param value: Is one of the following types: Uint32AsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.Uint32AsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.Uint32AsStringProperty or JSON or IO[bytes] :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -288,12 +288,12 @@ async def uint8_as_string( """uint8_as_string. :param value: Required. - :type value: ~encode.numeric.models.Uint8AsStringProperty + :type value: ~encode.numeric.property.models.Uint8AsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -309,7 +309,7 @@ async def uint8_as_string( Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -325,7 +325,7 @@ async def uint8_as_string( Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -335,9 +335,9 @@ async def uint8_as_string( """uint8_as_string. :param value: Is one of the following types: Uint8AsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.Uint8AsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.Uint8AsStringProperty or JSON or IO[bytes] :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/operations/_operations.py index d66b07d09b1..220e257c83b 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/operations/_operations.py @@ -107,12 +107,12 @@ def safeint_as_string( """safeint_as_string. :param value: Required. - :type value: ~encode.numeric.models.SafeintAsStringProperty + :type value: ~encode.numeric.property.models.SafeintAsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -128,7 +128,7 @@ def safeint_as_string( Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -144,7 +144,7 @@ def safeint_as_string( Default value is "application/json". :paramtype content_type: str :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -154,9 +154,9 @@ def safeint_as_string( """safeint_as_string. :param value: Is one of the following types: SafeintAsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.SafeintAsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.SafeintAsStringProperty or JSON or IO[bytes] :return: SafeintAsStringProperty. The SafeintAsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.SafeintAsStringProperty + :rtype: ~encode.numeric.property.models.SafeintAsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -222,12 +222,12 @@ def uint32_as_string_optional( """uint32_as_string_optional. :param value: Required. - :type value: ~encode.numeric.models.Uint32AsStringProperty + :type value: ~encode.numeric.property.models.Uint32AsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -243,7 +243,7 @@ def uint32_as_string_optional( Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -259,7 +259,7 @@ def uint32_as_string_optional( Default value is "application/json". :paramtype content_type: str :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -269,9 +269,9 @@ def uint32_as_string_optional( """uint32_as_string_optional. :param value: Is one of the following types: Uint32AsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.Uint32AsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.Uint32AsStringProperty or JSON or IO[bytes] :return: Uint32AsStringProperty. The Uint32AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint32AsStringProperty + :rtype: ~encode.numeric.property.models.Uint32AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { @@ -337,12 +337,12 @@ def uint8_as_string( """uint8_as_string. :param value: Required. - :type value: ~encode.numeric.models.Uint8AsStringProperty + :type value: ~encode.numeric.property.models.Uint8AsStringProperty :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -358,7 +358,7 @@ def uint8_as_string( Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -374,7 +374,7 @@ def uint8_as_string( Default value is "application/json". :paramtype content_type: str :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ @@ -384,9 +384,9 @@ def uint8_as_string( """uint8_as_string. :param value: Is one of the following types: Uint8AsStringProperty, JSON, IO[bytes] Required. - :type value: ~encode.numeric.models.Uint8AsStringProperty or JSON or IO[bytes] + :type value: ~encode.numeric.property.models.Uint8AsStringProperty or JSON or IO[bytes] :return: Uint8AsStringProperty. The Uint8AsStringProperty is compatible with MutableMapping - :rtype: ~encode.numeric.models.Uint8AsStringProperty + :rtype: ~encode.numeric.property.models.Uint8AsStringProperty :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py index b0c60a2ef0c..dee7549c1e8 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/aio/operations/_operations.py @@ -50,7 +50,7 @@ async def simple(self, body: _models2.User, *, content_type: str = "application/ """simple. :param body: Required. - :type body: ~parameters.basic.models.User + :type body: ~parameters.basic.explicitbody.models.User :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -91,7 +91,7 @@ async def simple(self, body: Union[_models2.User, JSON, IO[bytes]], **kwargs: An """simple. :param body: Is one of the following types: User, JSON, IO[bytes] Required. - :type body: ~parameters.basic.models.User or JSON or IO[bytes] + :type body: ~parameters.basic.explicitbody.models.User or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/operations/_operations.py index e751db284fe..815ed398329 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/operations/_operations.py @@ -66,7 +66,7 @@ def simple(self, body: _models1.User, *, content_type: str = "application/json", """simple. :param body: Required. - :type body: ~parameters.basic.models.User + :type body: ~parameters.basic.explicitbody.models.User :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -109,7 +109,7 @@ def simple( # pylint: disable=inconsistent-return-statements """simple. :param body: Is one of the following types: User, JSON, IO[bytes] Required. - :type body: ~parameters.basic.models.User or JSON or IO[bytes] + :type body: ~parameters.basic.explicitbody.models.User or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/aio/operations/_operations.py index 21501d7daa6..2b0c3371b45 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/aio/operations/_operations.py @@ -167,7 +167,7 @@ async def spread_composite_request_only_with_body( """spread_composite_request_only_with_body. :param body: Required. - :type body: ~parameters.spread.models.BodyParameter + :type body: ~parameters.spread.model.models.BodyParameter :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -214,7 +214,7 @@ async def spread_composite_request_only_with_body( """spread_composite_request_only_with_body. :param body: Is one of the following types: BodyParameter, JSON, IO[bytes] Required. - :type body: ~parameters.spread.models.BodyParameter or JSON or IO[bytes] + :type body: ~parameters.spread.model.models.BodyParameter or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -325,7 +325,7 @@ async def spread_composite_request( :param name: Required. :type name: str :param body: Required. - :type body: ~parameters.spread.models.BodyParameter + :type body: ~parameters.spread.model.models.BodyParameter :keyword test_header: Required. :paramtype test_header: str :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. @@ -384,7 +384,7 @@ async def spread_composite_request( :param name: Required. :type name: str :param body: Is one of the following types: BodyParameter, JSON, IO[bytes] Required. - :type body: ~parameters.spread.models.BodyParameter or JSON or IO[bytes] + :type body: ~parameters.spread.model.models.BodyParameter or JSON or IO[bytes] :keyword test_header: Required. :paramtype test_header: str :return: None diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/operations/_operations.py index 91992111556..31a5c278c3d 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/operations/_operations.py @@ -252,7 +252,7 @@ def spread_composite_request_only_with_body( """spread_composite_request_only_with_body. :param body: Required. - :type body: ~parameters.spread.models.BodyParameter + :type body: ~parameters.spread.model.models.BodyParameter :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -299,7 +299,7 @@ def spread_composite_request_only_with_body( # pylint: disable=inconsistent-ret """spread_composite_request_only_with_body. :param body: Is one of the following types: BodyParameter, JSON, IO[bytes] Required. - :type body: ~parameters.spread.models.BodyParameter or JSON or IO[bytes] + :type body: ~parameters.spread.model.models.BodyParameter or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -412,7 +412,7 @@ def spread_composite_request( :param name: Required. :type name: str :param body: Required. - :type body: ~parameters.spread.models.BodyParameter + :type body: ~parameters.spread.model.models.BodyParameter :keyword test_header: Required. :paramtype test_header: str :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. @@ -471,7 +471,7 @@ def spread_composite_request( # pylint: disable=inconsistent-return-statements :param name: Required. :type name: str :param body: Is one of the following types: BodyParameter, JSON, IO[bytes] Required. - :type body: ~parameters.spread.models.BodyParameter or JSON or IO[bytes] + :type body: ~parameters.spread.model.models.BodyParameter or JSON or IO[bytes] :keyword test_header: Required. :paramtype test_header: str :return: None diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py index 4ccaf662e32..1254e3ec95f 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/aio/operations/_operations.py @@ -106,7 +106,7 @@ async def get_avatar_as_json(self, **kwargs: Any) -> _models2.PngImageAsJson: """get_avatar_as_json. :return: PngImageAsJson. The PngImageAsJson is compatible with MutableMapping - :rtype: ~payload.contentnegotiation.models.PngImageAsJson + :rtype: ~payload.contentnegotiation.differentbody.models.PngImageAsJson :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py index ab08540c2da..22053099db1 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/operations/_operations.py @@ -131,7 +131,7 @@ def get_avatar_as_json(self, **kwargs: Any) -> _models1.PngImageAsJson: """get_avatar_as_json. :return: PngImageAsJson. The PngImageAsJson is compatible with MutableMapping - :rtype: ~payload.contentnegotiation.models.PngImageAsJson + :rtype: ~payload.contentnegotiation.differentbody.models.PngImageAsJson :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py index 64e10906c5b..61167db768d 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/aio/operations/_operations.py @@ -493,7 +493,7 @@ async def anonymous_model(self, body: _models2.AnonymousModelRequest, **kwargs: """Test content-type: multipart/form-data. :param body: Required. - :type body: ~payload.multipart.models.AnonymousModelRequest + :type body: ~payload.multipart.formdata.models.AnonymousModelRequest :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -514,7 +514,7 @@ async def anonymous_model(self, body: Union[_models2.AnonymousModelRequest, JSON """Test content-type: multipart/form-data. :param body: Is either a AnonymousModelRequest type or a JSON type. Required. - :type body: ~payload.multipart.models.AnonymousModelRequest or JSON + :type body: ~payload.multipart.formdata.models.AnonymousModelRequest or JSON :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py index 0f6619a9b17..b474c418ec5 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/aio/operations/_operations.py @@ -48,7 +48,7 @@ async def float(self, body: _models2.FloatRequest, **kwargs: Any) -> None: """Test content-type: multipart/form-data for non string. :param body: Required. - :type body: ~payload.multipart.models.FloatRequest + :type body: ~payload.multipart.formdata.httpparts.nonstring.models.FloatRequest :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -69,7 +69,7 @@ async def float(self, body: Union[_models2.FloatRequest, JSON], **kwargs: Any) - """Test content-type: multipart/form-data for non string. :param body: Is either a FloatRequest type or a JSON type. Required. - :type body: ~payload.multipart.models.FloatRequest or JSON + :type body: ~payload.multipart.formdata.httpparts.nonstring.models.FloatRequest or JSON :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py index fbc93cc28f4..4a48a0265ac 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/operations/_operations.py @@ -60,7 +60,7 @@ def float(self, body: _models1.FloatRequest, **kwargs: Any) -> None: """Test content-type: multipart/form-data for non string. :param body: Required. - :type body: ~payload.multipart.models.FloatRequest + :type body: ~payload.multipart.formdata.httpparts.nonstring.models.FloatRequest :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -83,7 +83,7 @@ def float( # pylint: disable=inconsistent-return-statements """Test content-type: multipart/form-data for non string. :param body: Is either a FloatRequest type or a JSON type. Required. - :type body: ~payload.multipart.models.FloatRequest or JSON + :type body: ~payload.multipart.formdata.httpparts.nonstring.models.FloatRequest or JSON :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/operations/_operations.py index 6ae96620384..f0b39cccdc9 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/operations/_operations.py @@ -563,7 +563,7 @@ def anonymous_model(self, body: _models1.AnonymousModelRequest, **kwargs: Any) - """Test content-type: multipart/form-data. :param body: Required. - :type body: ~payload.multipart.models.AnonymousModelRequest + :type body: ~payload.multipart.formdata.models.AnonymousModelRequest :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -586,7 +586,7 @@ def anonymous_model( # pylint: disable=inconsistent-return-statements """Test content-type: multipart/form-data. :param body: Is either a AnonymousModelRequest type or a JSON type. Required. - :type body: ~payload.multipart.models.AnonymousModelRequest or JSON + :type body: ~payload.multipart.formdata.models.AnonymousModelRequest or JSON :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py index ccde3a67d4e..35647059ae6 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/aio/operations/_operations.py @@ -54,7 +54,7 @@ async def send( """send. :param body: Required. - :type body: ~serialization.encodedname.json.models.JsonEncodedNameModel + :type body: ~serialization.encodedname.json.property.models.JsonEncodedNameModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -95,7 +95,8 @@ async def send(self, body: Union[_models2.JsonEncodedNameModel, JSON, IO[bytes]] """send. :param body: Is one of the following types: JsonEncodedNameModel, JSON, IO[bytes] Required. - :type body: ~serialization.encodedname.json.models.JsonEncodedNameModel or JSON or IO[bytes] + :type body: ~serialization.encodedname.json.property.models.JsonEncodedNameModel or JSON or + IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -148,7 +149,7 @@ async def get(self, **kwargs: Any) -> _models2.JsonEncodedNameModel: """get. :return: JsonEncodedNameModel. The JsonEncodedNameModel is compatible with MutableMapping - :rtype: ~serialization.encodedname.json.models.JsonEncodedNameModel + :rtype: ~serialization.encodedname.json.property.models.JsonEncodedNameModel :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py index d52312a311b..268dc95afc8 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/operations/_operations.py @@ -84,7 +84,7 @@ def send( """send. :param body: Required. - :type body: ~serialization.encodedname.json.models.JsonEncodedNameModel + :type body: ~serialization.encodedname.json.property.models.JsonEncodedNameModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -127,7 +127,8 @@ def send( # pylint: disable=inconsistent-return-statements """send. :param body: Is one of the following types: JsonEncodedNameModel, JSON, IO[bytes] Required. - :type body: ~serialization.encodedname.json.models.JsonEncodedNameModel or JSON or IO[bytes] + :type body: ~serialization.encodedname.json.property.models.JsonEncodedNameModel or JSON or + IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -180,7 +181,7 @@ def get(self, **kwargs: Any) -> _models1.JsonEncodedNameModel: """get. :return: JsonEncodedNameModel. The JsonEncodedNameModel is compatible with MutableMapping - :rtype: ~serialization.encodedname.json.models.JsonEncodedNameModel + :rtype: ~serialization.encodedname.json.property.models.JsonEncodedNameModel :raises ~corehttp.exceptions.HttpResponseError: """ error_map: MutableMapping = { diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/aio/operations/_operations.py index d9e69d7a5a1..f8b60938a1f 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/aio/operations/_operations.py @@ -52,7 +52,7 @@ async def same_as_model( """same_as_model. :param body: Required. - :type body: ~specialwords.models.SameAsModel + :type body: ~specialwords.modelproperties.models.SameAsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -93,7 +93,7 @@ async def same_as_model(self, body: Union[_models2.SameAsModel, JSON, IO[bytes]] """same_as_model. :param body: Is one of the following types: SameAsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.SameAsModel or JSON or IO[bytes] + :type body: ~specialwords.modelproperties.models.SameAsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/operations/_operations.py index fe332dbeeb7..9d2a47b6379 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/operations/_operations.py @@ -68,7 +68,7 @@ def same_as_model( """same_as_model. :param body: Required. - :type body: ~specialwords.models.SameAsModel + :type body: ~specialwords.modelproperties.models.SameAsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -111,7 +111,7 @@ def same_as_model( # pylint: disable=inconsistent-return-statements """same_as_model. :param body: Is one of the following types: SameAsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.SameAsModel or JSON or IO[bytes] + :type body: ~specialwords.modelproperties.models.SameAsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/aio/operations/_operations.py index 97721156e29..14fa7689de2 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/aio/operations/_operations.py @@ -85,7 +85,7 @@ async def with_and(self, body: _models2.AndModel, *, content_type: str = "applic """with_and. :param body: Required. - :type body: ~specialwords.models.AndModel + :type body: ~specialwords.models.models.AndModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -126,7 +126,7 @@ async def with_and(self, body: Union[_models2.AndModel, JSON, IO[bytes]], **kwar """with_and. :param body: Is one of the following types: AndModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AndModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AndModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -180,7 +180,7 @@ async def with_as(self, body: _models2.AsModel, *, content_type: str = "applicat """with_as. :param body: Required. - :type body: ~specialwords.models.AsModel + :type body: ~specialwords.models.models.AsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -221,7 +221,7 @@ async def with_as(self, body: Union[_models2.AsModel, JSON, IO[bytes]], **kwargs """with_as. :param body: Is one of the following types: AsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AsModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -277,7 +277,7 @@ async def with_assert( """with_assert. :param body: Required. - :type body: ~specialwords.models.AssertModel + :type body: ~specialwords.models.models.AssertModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -318,7 +318,7 @@ async def with_assert(self, body: Union[_models2.AssertModel, JSON, IO[bytes]], """with_assert. :param body: Is one of the following types: AssertModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AssertModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AssertModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -374,7 +374,7 @@ async def with_async( """with_async. :param body: Required. - :type body: ~specialwords.models.AsyncModel + :type body: ~specialwords.models.models.AsyncModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -415,7 +415,7 @@ async def with_async(self, body: Union[_models2.AsyncModel, JSON, IO[bytes]], ** """with_async. :param body: Is one of the following types: AsyncModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AsyncModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AsyncModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -471,7 +471,7 @@ async def with_await( """with_await. :param body: Required. - :type body: ~specialwords.models.AwaitModel + :type body: ~specialwords.models.models.AwaitModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -512,7 +512,7 @@ async def with_await(self, body: Union[_models2.AwaitModel, JSON, IO[bytes]], ** """with_await. :param body: Is one of the following types: AwaitModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AwaitModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AwaitModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -568,7 +568,7 @@ async def with_break( """with_break. :param body: Required. - :type body: ~specialwords.models.BreakModel + :type body: ~specialwords.models.models.BreakModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -609,7 +609,7 @@ async def with_break(self, body: Union[_models2.BreakModel, JSON, IO[bytes]], ** """with_break. :param body: Is one of the following types: BreakModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.BreakModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.BreakModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -665,7 +665,7 @@ async def with_class( """with_class. :param body: Required. - :type body: ~specialwords.models.ClassModel + :type body: ~specialwords.models.models.ClassModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -706,7 +706,7 @@ async def with_class(self, body: Union[_models2.ClassModel, JSON, IO[bytes]], ** """with_class. :param body: Is one of the following types: ClassModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ClassModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ClassModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -762,7 +762,7 @@ async def with_constructor( """with_constructor. :param body: Required. - :type body: ~specialwords.models.Constructor + :type body: ~specialwords.models.models.Constructor :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -803,7 +803,7 @@ async def with_constructor(self, body: Union[_models2.Constructor, JSON, IO[byte """with_constructor. :param body: Is one of the following types: Constructor, JSON, IO[bytes] Required. - :type body: ~specialwords.models.Constructor or JSON or IO[bytes] + :type body: ~specialwords.models.models.Constructor or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -859,7 +859,7 @@ async def with_continue( """with_continue. :param body: Required. - :type body: ~specialwords.models.ContinueModel + :type body: ~specialwords.models.models.ContinueModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -900,7 +900,7 @@ async def with_continue(self, body: Union[_models2.ContinueModel, JSON, IO[bytes """with_continue. :param body: Is one of the following types: ContinueModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ContinueModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ContinueModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -954,7 +954,7 @@ async def with_def(self, body: _models2.DefModel, *, content_type: str = "applic """with_def. :param body: Required. - :type body: ~specialwords.models.DefModel + :type body: ~specialwords.models.models.DefModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -995,7 +995,7 @@ async def with_def(self, body: Union[_models2.DefModel, JSON, IO[bytes]], **kwar """with_def. :param body: Is one of the following types: DefModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.DefModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.DefModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1049,7 +1049,7 @@ async def with_del(self, body: _models2.DelModel, *, content_type: str = "applic """with_del. :param body: Required. - :type body: ~specialwords.models.DelModel + :type body: ~specialwords.models.models.DelModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1090,7 +1090,7 @@ async def with_del(self, body: Union[_models2.DelModel, JSON, IO[bytes]], **kwar """with_del. :param body: Is one of the following types: DelModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.DelModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.DelModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1146,7 +1146,7 @@ async def with_elif( """with_elif. :param body: Required. - :type body: ~specialwords.models.ElifModel + :type body: ~specialwords.models.models.ElifModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1187,7 +1187,7 @@ async def with_elif(self, body: Union[_models2.ElifModel, JSON, IO[bytes]], **kw """with_elif. :param body: Is one of the following types: ElifModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ElifModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ElifModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1243,7 +1243,7 @@ async def with_else( """with_else. :param body: Required. - :type body: ~specialwords.models.ElseModel + :type body: ~specialwords.models.models.ElseModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1284,7 +1284,7 @@ async def with_else(self, body: Union[_models2.ElseModel, JSON, IO[bytes]], **kw """with_else. :param body: Is one of the following types: ElseModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ElseModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ElseModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1340,7 +1340,7 @@ async def with_except( """with_except. :param body: Required. - :type body: ~specialwords.models.ExceptModel + :type body: ~specialwords.models.models.ExceptModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1381,7 +1381,7 @@ async def with_except(self, body: Union[_models2.ExceptModel, JSON, IO[bytes]], """with_except. :param body: Is one of the following types: ExceptModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ExceptModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ExceptModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1437,7 +1437,7 @@ async def with_exec( """with_exec. :param body: Required. - :type body: ~specialwords.models.ExecModel + :type body: ~specialwords.models.models.ExecModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1478,7 +1478,7 @@ async def with_exec(self, body: Union[_models2.ExecModel, JSON, IO[bytes]], **kw """with_exec. :param body: Is one of the following types: ExecModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ExecModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ExecModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1534,7 +1534,7 @@ async def with_finally( """with_finally. :param body: Required. - :type body: ~specialwords.models.FinallyModel + :type body: ~specialwords.models.models.FinallyModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1575,7 +1575,7 @@ async def with_finally(self, body: Union[_models2.FinallyModel, JSON, IO[bytes]] """with_finally. :param body: Is one of the following types: FinallyModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.FinallyModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.FinallyModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1629,7 +1629,7 @@ async def with_for(self, body: _models2.ForModel, *, content_type: str = "applic """with_for. :param body: Required. - :type body: ~specialwords.models.ForModel + :type body: ~specialwords.models.models.ForModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1670,7 +1670,7 @@ async def with_for(self, body: Union[_models2.ForModel, JSON, IO[bytes]], **kwar """with_for. :param body: Is one of the following types: ForModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ForModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ForModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1726,7 +1726,7 @@ async def with_from( """with_from. :param body: Required. - :type body: ~specialwords.models.FromModel + :type body: ~specialwords.models.models.FromModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1767,7 +1767,7 @@ async def with_from(self, body: Union[_models2.FromModel, JSON, IO[bytes]], **kw """with_from. :param body: Is one of the following types: FromModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.FromModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.FromModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1823,7 +1823,7 @@ async def with_global( """with_global. :param body: Required. - :type body: ~specialwords.models.GlobalModel + :type body: ~specialwords.models.models.GlobalModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1864,7 +1864,7 @@ async def with_global(self, body: Union[_models2.GlobalModel, JSON, IO[bytes]], """with_global. :param body: Is one of the following types: GlobalModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.GlobalModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.GlobalModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1918,7 +1918,7 @@ async def with_if(self, body: _models2.IfModel, *, content_type: str = "applicat """with_if. :param body: Required. - :type body: ~specialwords.models.IfModel + :type body: ~specialwords.models.models.IfModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1959,7 +1959,7 @@ async def with_if(self, body: Union[_models2.IfModel, JSON, IO[bytes]], **kwargs """with_if. :param body: Is one of the following types: IfModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.IfModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.IfModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2015,7 +2015,7 @@ async def with_import( """with_import. :param body: Required. - :type body: ~specialwords.models.ImportModel + :type body: ~specialwords.models.models.ImportModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2056,7 +2056,7 @@ async def with_import(self, body: Union[_models2.ImportModel, JSON, IO[bytes]], """with_import. :param body: Is one of the following types: ImportModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ImportModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ImportModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2110,7 +2110,7 @@ async def with_in(self, body: _models2.InModel, *, content_type: str = "applicat """with_in. :param body: Required. - :type body: ~specialwords.models.InModel + :type body: ~specialwords.models.models.InModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2151,7 +2151,7 @@ async def with_in(self, body: Union[_models2.InModel, JSON, IO[bytes]], **kwargs """with_in. :param body: Is one of the following types: InModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.InModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.InModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2205,7 +2205,7 @@ async def with_is(self, body: _models2.IsModel, *, content_type: str = "applicat """with_is. :param body: Required. - :type body: ~specialwords.models.IsModel + :type body: ~specialwords.models.models.IsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2246,7 +2246,7 @@ async def with_is(self, body: Union[_models2.IsModel, JSON, IO[bytes]], **kwargs """with_is. :param body: Is one of the following types: IsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.IsModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.IsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2302,7 +2302,7 @@ async def with_lambda( """with_lambda. :param body: Required. - :type body: ~specialwords.models.LambdaModel + :type body: ~specialwords.models.models.LambdaModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2343,7 +2343,7 @@ async def with_lambda(self, body: Union[_models2.LambdaModel, JSON, IO[bytes]], """with_lambda. :param body: Is one of the following types: LambdaModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.LambdaModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.LambdaModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2397,7 +2397,7 @@ async def with_not(self, body: _models2.NotModel, *, content_type: str = "applic """with_not. :param body: Required. - :type body: ~specialwords.models.NotModel + :type body: ~specialwords.models.models.NotModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2438,7 +2438,7 @@ async def with_not(self, body: Union[_models2.NotModel, JSON, IO[bytes]], **kwar """with_not. :param body: Is one of the following types: NotModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.NotModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.NotModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2492,7 +2492,7 @@ async def with_or(self, body: _models2.OrModel, *, content_type: str = "applicat """with_or. :param body: Required. - :type body: ~specialwords.models.OrModel + :type body: ~specialwords.models.models.OrModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2533,7 +2533,7 @@ async def with_or(self, body: Union[_models2.OrModel, JSON, IO[bytes]], **kwargs """with_or. :param body: Is one of the following types: OrModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.OrModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.OrModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2589,7 +2589,7 @@ async def with_pass( """with_pass. :param body: Required. - :type body: ~specialwords.models.PassModel + :type body: ~specialwords.models.models.PassModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2630,7 +2630,7 @@ async def with_pass(self, body: Union[_models2.PassModel, JSON, IO[bytes]], **kw """with_pass. :param body: Is one of the following types: PassModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.PassModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.PassModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2686,7 +2686,7 @@ async def with_raise( """with_raise. :param body: Required. - :type body: ~specialwords.models.RaiseModel + :type body: ~specialwords.models.models.RaiseModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2727,7 +2727,7 @@ async def with_raise(self, body: Union[_models2.RaiseModel, JSON, IO[bytes]], ** """with_raise. :param body: Is one of the following types: RaiseModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.RaiseModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.RaiseModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2783,7 +2783,7 @@ async def with_return( """with_return. :param body: Required. - :type body: ~specialwords.models.ReturnModel + :type body: ~specialwords.models.models.ReturnModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2824,7 +2824,7 @@ async def with_return(self, body: Union[_models2.ReturnModel, JSON, IO[bytes]], """with_return. :param body: Is one of the following types: ReturnModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ReturnModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ReturnModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2878,7 +2878,7 @@ async def with_try(self, body: _models2.TryModel, *, content_type: str = "applic """with_try. :param body: Required. - :type body: ~specialwords.models.TryModel + :type body: ~specialwords.models.models.TryModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2919,7 +2919,7 @@ async def with_try(self, body: Union[_models2.TryModel, JSON, IO[bytes]], **kwar """with_try. :param body: Is one of the following types: TryModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.TryModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.TryModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2975,7 +2975,7 @@ async def with_while( """with_while. :param body: Required. - :type body: ~specialwords.models.WhileModel + :type body: ~specialwords.models.models.WhileModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3016,7 +3016,7 @@ async def with_while(self, body: Union[_models2.WhileModel, JSON, IO[bytes]], ** """with_while. :param body: Is one of the following types: WhileModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.WhileModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.WhileModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3072,7 +3072,7 @@ async def with_with( """with_with. :param body: Required. - :type body: ~specialwords.models.WithModel + :type body: ~specialwords.models.models.WithModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3113,7 +3113,7 @@ async def with_with(self, body: Union[_models2.WithModel, JSON, IO[bytes]], **kw """with_with. :param body: Is one of the following types: WithModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.WithModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.WithModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3169,7 +3169,7 @@ async def with_yield( """with_yield. :param body: Required. - :type body: ~specialwords.models.YieldModel + :type body: ~specialwords.models.models.YieldModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3210,7 +3210,7 @@ async def with_yield(self, body: Union[_models2.YieldModel, JSON, IO[bytes]], ** """with_yield. :param body: Is one of the following types: YieldModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.YieldModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.YieldModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/operations/_operations.py index 005b1106f2a..947f65584fe 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/operations/_operations.py @@ -515,7 +515,7 @@ def with_and(self, body: _models1.AndModel, *, content_type: str = "application/ """with_and. :param body: Required. - :type body: ~specialwords.models.AndModel + :type body: ~specialwords.models.models.AndModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -558,7 +558,7 @@ def with_and( # pylint: disable=inconsistent-return-statements """with_and. :param body: Is one of the following types: AndModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AndModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AndModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -612,7 +612,7 @@ def with_as(self, body: _models1.AsModel, *, content_type: str = "application/js """with_as. :param body: Required. - :type body: ~specialwords.models.AsModel + :type body: ~specialwords.models.models.AsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -655,7 +655,7 @@ def with_as( # pylint: disable=inconsistent-return-statements """with_as. :param body: Is one of the following types: AsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AsModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -709,7 +709,7 @@ def with_assert(self, body: _models1.AssertModel, *, content_type: str = "applic """with_assert. :param body: Required. - :type body: ~specialwords.models.AssertModel + :type body: ~specialwords.models.models.AssertModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -752,7 +752,7 @@ def with_assert( # pylint: disable=inconsistent-return-statements """with_assert. :param body: Is one of the following types: AssertModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AssertModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AssertModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -806,7 +806,7 @@ def with_async(self, body: _models1.AsyncModel, *, content_type: str = "applicat """with_async. :param body: Required. - :type body: ~specialwords.models.AsyncModel + :type body: ~specialwords.models.models.AsyncModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -849,7 +849,7 @@ def with_async( # pylint: disable=inconsistent-return-statements """with_async. :param body: Is one of the following types: AsyncModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AsyncModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AsyncModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -903,7 +903,7 @@ def with_await(self, body: _models1.AwaitModel, *, content_type: str = "applicat """with_await. :param body: Required. - :type body: ~specialwords.models.AwaitModel + :type body: ~specialwords.models.models.AwaitModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -946,7 +946,7 @@ def with_await( # pylint: disable=inconsistent-return-statements """with_await. :param body: Is one of the following types: AwaitModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.AwaitModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.AwaitModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1000,7 +1000,7 @@ def with_break(self, body: _models1.BreakModel, *, content_type: str = "applicat """with_break. :param body: Required. - :type body: ~specialwords.models.BreakModel + :type body: ~specialwords.models.models.BreakModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1043,7 +1043,7 @@ def with_break( # pylint: disable=inconsistent-return-statements """with_break. :param body: Is one of the following types: BreakModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.BreakModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.BreakModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1097,7 +1097,7 @@ def with_class(self, body: _models1.ClassModel, *, content_type: str = "applicat """with_class. :param body: Required. - :type body: ~specialwords.models.ClassModel + :type body: ~specialwords.models.models.ClassModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1140,7 +1140,7 @@ def with_class( # pylint: disable=inconsistent-return-statements """with_class. :param body: Is one of the following types: ClassModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ClassModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ClassModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1196,7 +1196,7 @@ def with_constructor( """with_constructor. :param body: Required. - :type body: ~specialwords.models.Constructor + :type body: ~specialwords.models.models.Constructor :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1239,7 +1239,7 @@ def with_constructor( # pylint: disable=inconsistent-return-statements """with_constructor. :param body: Is one of the following types: Constructor, JSON, IO[bytes] Required. - :type body: ~specialwords.models.Constructor or JSON or IO[bytes] + :type body: ~specialwords.models.models.Constructor or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1295,7 +1295,7 @@ def with_continue( """with_continue. :param body: Required. - :type body: ~specialwords.models.ContinueModel + :type body: ~specialwords.models.models.ContinueModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1338,7 +1338,7 @@ def with_continue( # pylint: disable=inconsistent-return-statements """with_continue. :param body: Is one of the following types: ContinueModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ContinueModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ContinueModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1392,7 +1392,7 @@ def with_def(self, body: _models1.DefModel, *, content_type: str = "application/ """with_def. :param body: Required. - :type body: ~specialwords.models.DefModel + :type body: ~specialwords.models.models.DefModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1435,7 +1435,7 @@ def with_def( # pylint: disable=inconsistent-return-statements """with_def. :param body: Is one of the following types: DefModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.DefModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.DefModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1489,7 +1489,7 @@ def with_del(self, body: _models1.DelModel, *, content_type: str = "application/ """with_del. :param body: Required. - :type body: ~specialwords.models.DelModel + :type body: ~specialwords.models.models.DelModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1532,7 +1532,7 @@ def with_del( # pylint: disable=inconsistent-return-statements """with_del. :param body: Is one of the following types: DelModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.DelModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.DelModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1586,7 +1586,7 @@ def with_elif(self, body: _models1.ElifModel, *, content_type: str = "applicatio """with_elif. :param body: Required. - :type body: ~specialwords.models.ElifModel + :type body: ~specialwords.models.models.ElifModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1629,7 +1629,7 @@ def with_elif( # pylint: disable=inconsistent-return-statements """with_elif. :param body: Is one of the following types: ElifModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ElifModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ElifModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1683,7 +1683,7 @@ def with_else(self, body: _models1.ElseModel, *, content_type: str = "applicatio """with_else. :param body: Required. - :type body: ~specialwords.models.ElseModel + :type body: ~specialwords.models.models.ElseModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1726,7 +1726,7 @@ def with_else( # pylint: disable=inconsistent-return-statements """with_else. :param body: Is one of the following types: ElseModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ElseModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ElseModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1780,7 +1780,7 @@ def with_except(self, body: _models1.ExceptModel, *, content_type: str = "applic """with_except. :param body: Required. - :type body: ~specialwords.models.ExceptModel + :type body: ~specialwords.models.models.ExceptModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1823,7 +1823,7 @@ def with_except( # pylint: disable=inconsistent-return-statements """with_except. :param body: Is one of the following types: ExceptModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ExceptModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ExceptModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1877,7 +1877,7 @@ def with_exec(self, body: _models1.ExecModel, *, content_type: str = "applicatio """with_exec. :param body: Required. - :type body: ~specialwords.models.ExecModel + :type body: ~specialwords.models.models.ExecModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -1920,7 +1920,7 @@ def with_exec( # pylint: disable=inconsistent-return-statements """with_exec. :param body: Is one of the following types: ExecModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ExecModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ExecModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -1976,7 +1976,7 @@ def with_finally( """with_finally. :param body: Required. - :type body: ~specialwords.models.FinallyModel + :type body: ~specialwords.models.models.FinallyModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2019,7 +2019,7 @@ def with_finally( # pylint: disable=inconsistent-return-statements """with_finally. :param body: Is one of the following types: FinallyModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.FinallyModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.FinallyModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2073,7 +2073,7 @@ def with_for(self, body: _models1.ForModel, *, content_type: str = "application/ """with_for. :param body: Required. - :type body: ~specialwords.models.ForModel + :type body: ~specialwords.models.models.ForModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2116,7 +2116,7 @@ def with_for( # pylint: disable=inconsistent-return-statements """with_for. :param body: Is one of the following types: ForModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ForModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ForModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2170,7 +2170,7 @@ def with_from(self, body: _models1.FromModel, *, content_type: str = "applicatio """with_from. :param body: Required. - :type body: ~specialwords.models.FromModel + :type body: ~specialwords.models.models.FromModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2213,7 +2213,7 @@ def with_from( # pylint: disable=inconsistent-return-statements """with_from. :param body: Is one of the following types: FromModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.FromModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.FromModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2267,7 +2267,7 @@ def with_global(self, body: _models1.GlobalModel, *, content_type: str = "applic """with_global. :param body: Required. - :type body: ~specialwords.models.GlobalModel + :type body: ~specialwords.models.models.GlobalModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2310,7 +2310,7 @@ def with_global( # pylint: disable=inconsistent-return-statements """with_global. :param body: Is one of the following types: GlobalModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.GlobalModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.GlobalModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2364,7 +2364,7 @@ def with_if(self, body: _models1.IfModel, *, content_type: str = "application/js """with_if. :param body: Required. - :type body: ~specialwords.models.IfModel + :type body: ~specialwords.models.models.IfModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2407,7 +2407,7 @@ def with_if( # pylint: disable=inconsistent-return-statements """with_if. :param body: Is one of the following types: IfModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.IfModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.IfModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2461,7 +2461,7 @@ def with_import(self, body: _models1.ImportModel, *, content_type: str = "applic """with_import. :param body: Required. - :type body: ~specialwords.models.ImportModel + :type body: ~specialwords.models.models.ImportModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2504,7 +2504,7 @@ def with_import( # pylint: disable=inconsistent-return-statements """with_import. :param body: Is one of the following types: ImportModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ImportModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ImportModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2558,7 +2558,7 @@ def with_in(self, body: _models1.InModel, *, content_type: str = "application/js """with_in. :param body: Required. - :type body: ~specialwords.models.InModel + :type body: ~specialwords.models.models.InModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2601,7 +2601,7 @@ def with_in( # pylint: disable=inconsistent-return-statements """with_in. :param body: Is one of the following types: InModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.InModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.InModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2655,7 +2655,7 @@ def with_is(self, body: _models1.IsModel, *, content_type: str = "application/js """with_is. :param body: Required. - :type body: ~specialwords.models.IsModel + :type body: ~specialwords.models.models.IsModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2698,7 +2698,7 @@ def with_is( # pylint: disable=inconsistent-return-statements """with_is. :param body: Is one of the following types: IsModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.IsModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.IsModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2752,7 +2752,7 @@ def with_lambda(self, body: _models1.LambdaModel, *, content_type: str = "applic """with_lambda. :param body: Required. - :type body: ~specialwords.models.LambdaModel + :type body: ~specialwords.models.models.LambdaModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2795,7 +2795,7 @@ def with_lambda( # pylint: disable=inconsistent-return-statements """with_lambda. :param body: Is one of the following types: LambdaModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.LambdaModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.LambdaModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2849,7 +2849,7 @@ def with_not(self, body: _models1.NotModel, *, content_type: str = "application/ """with_not. :param body: Required. - :type body: ~specialwords.models.NotModel + :type body: ~specialwords.models.models.NotModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2892,7 +2892,7 @@ def with_not( # pylint: disable=inconsistent-return-statements """with_not. :param body: Is one of the following types: NotModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.NotModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.NotModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -2946,7 +2946,7 @@ def with_or(self, body: _models1.OrModel, *, content_type: str = "application/js """with_or. :param body: Required. - :type body: ~specialwords.models.OrModel + :type body: ~specialwords.models.models.OrModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -2989,7 +2989,7 @@ def with_or( # pylint: disable=inconsistent-return-statements """with_or. :param body: Is one of the following types: OrModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.OrModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.OrModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3043,7 +3043,7 @@ def with_pass(self, body: _models1.PassModel, *, content_type: str = "applicatio """with_pass. :param body: Required. - :type body: ~specialwords.models.PassModel + :type body: ~specialwords.models.models.PassModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3086,7 +3086,7 @@ def with_pass( # pylint: disable=inconsistent-return-statements """with_pass. :param body: Is one of the following types: PassModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.PassModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.PassModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3140,7 +3140,7 @@ def with_raise(self, body: _models1.RaiseModel, *, content_type: str = "applicat """with_raise. :param body: Required. - :type body: ~specialwords.models.RaiseModel + :type body: ~specialwords.models.models.RaiseModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3183,7 +3183,7 @@ def with_raise( # pylint: disable=inconsistent-return-statements """with_raise. :param body: Is one of the following types: RaiseModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.RaiseModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.RaiseModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3237,7 +3237,7 @@ def with_return(self, body: _models1.ReturnModel, *, content_type: str = "applic """with_return. :param body: Required. - :type body: ~specialwords.models.ReturnModel + :type body: ~specialwords.models.models.ReturnModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3280,7 +3280,7 @@ def with_return( # pylint: disable=inconsistent-return-statements """with_return. :param body: Is one of the following types: ReturnModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.ReturnModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.ReturnModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3334,7 +3334,7 @@ def with_try(self, body: _models1.TryModel, *, content_type: str = "application/ """with_try. :param body: Required. - :type body: ~specialwords.models.TryModel + :type body: ~specialwords.models.models.TryModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3377,7 +3377,7 @@ def with_try( # pylint: disable=inconsistent-return-statements """with_try. :param body: Is one of the following types: TryModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.TryModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.TryModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3431,7 +3431,7 @@ def with_while(self, body: _models1.WhileModel, *, content_type: str = "applicat """with_while. :param body: Required. - :type body: ~specialwords.models.WhileModel + :type body: ~specialwords.models.models.WhileModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3474,7 +3474,7 @@ def with_while( # pylint: disable=inconsistent-return-statements """with_while. :param body: Is one of the following types: WhileModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.WhileModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.WhileModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3528,7 +3528,7 @@ def with_with(self, body: _models1.WithModel, *, content_type: str = "applicatio """with_with. :param body: Required. - :type body: ~specialwords.models.WithModel + :type body: ~specialwords.models.models.WithModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3571,7 +3571,7 @@ def with_with( # pylint: disable=inconsistent-return-statements """with_with. :param body: Is one of the following types: WithModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.WithModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.WithModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: @@ -3625,7 +3625,7 @@ def with_yield(self, body: _models1.YieldModel, *, content_type: str = "applicat """with_yield. :param body: Required. - :type body: ~specialwords.models.YieldModel + :type body: ~specialwords.models.models.YieldModel :keyword content_type: Body Parameter content-type. Content type parameter for JSON body. Default value is "application/json". :paramtype content_type: str @@ -3668,7 +3668,7 @@ def with_yield( # pylint: disable=inconsistent-return-statements """with_yield. :param body: Is one of the following types: YieldModel, JSON, IO[bytes] Required. - :type body: ~specialwords.models.YieldModel or JSON or IO[bytes] + :type body: ~specialwords.models.models.YieldModel or JSON or IO[bytes] :return: None :rtype: None :raises ~corehttp.exceptions.HttpResponseError: From 66117c17e35c1821c112e138e345b33ade041ad8 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Thu, 17 Apr 2025 01:50:15 +0000 Subject: [PATCH 3/3] Update dependencies (2025-04-17 01:50:15) --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index f5cbfc2c78a..4c79b55e733 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 3f3450f2a8d..fc8c4cfad30 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -64,7 +64,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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1341c0a14ec..8ab823ebce6 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1538,8 +1538,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.0.0-rc.0 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz} version: 0.9.2 engines: {node: '>=20.0.0'} peerDependencies: @@ -5894,7 +5894,7 @@ snapshots: dependencies: '@typespec/compiler': 1.0.0-rc.0(@types/node@22.13.17) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODEwMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNDc2ODIyMS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.9.2.tgz(2ivfmxvrftapo7cbuxsaae6yq4)': dependencies: '@azure-tools/typespec-autorest': 0.54.0(eijwshhpe4ydfv4uxokr3dajqe) '@azure-tools/typespec-azure-core': 0.54.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))))(@typespec/rest@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/http@1.0.0-rc.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17))(@typespec/streams@0.68.0(@typespec/compiler@1.0.0-rc.0(@types/node@22.13.17)))))