From 1351afbae6470b9f84676ab302af84a06f90cd7d Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 9 Sep 2025 19:00:25 +0000 Subject: [PATCH 1/6] Update dependencies --- packages/autorest.python/package.json | 2 +- packages/typespec-python/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/autorest.python/package.json b/packages/autorest.python/package.json index 872a426f53f..de3bec35b18 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/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz", "@autorest/system-requirements": "~1.0.2", "fs-extra": "~11.2.0", "tsx": "~4.19.1" diff --git a/packages/typespec-python/package.json b/packages/typespec-python/package.json index 557ee00b3c9..68275bab323 100644 --- a/packages/typespec-python/package.json +++ b/packages/typespec-python/package.json @@ -67,7 +67,7 @@ "js-yaml": "~4.1.0", "semver": "~7.6.2", "tsx": "~4.19.1", - "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz", + "@typespec/http-client-python": "https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz", "fs-extra": "~11.2.0" }, "devDependencies": { From 542090f35593afa6a465867848cf4ea053c2d5ec Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 9 Sep 2025 19:01:25 +0000 Subject: [PATCH 2/6] Update dependencies (2025-09-09 19:01:25) --- pnpm-lock.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b38908126ed..f4ca19938ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -60,8 +60,8 @@ importers: specifier: ~1.0.2 version: 1.0.2 '@typespec/http-client-python': - specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -82,8 +82,8 @@ importers: packages/typespec-python: dependencies: '@typespec/http-client-python': - specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz - version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu) + specifier: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz + version: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu) fs-extra: specifier: ~11.2.0 version: 11.2.0 @@ -1677,8 +1677,8 @@ packages: peerDependencies: '@typespec/compiler': ^1.3.0 - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz': - resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz} + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz': + resolution: {tarball: https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz} version: 0.16.0 engines: {node: '>=20.0.0'} peerDependencies: @@ -6460,7 +6460,7 @@ snapshots: dependencies: '@typespec/compiler': 1.3.0(@types/node@24.1.0) - '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMjQzOS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu)': + '@typespec/http-client-python@https://artprodcus3.artifacts.visualstudio.com/A0fb41ef4-5012-48a9-bf39-4ee3de03ee35/29ec6040-b234-4e31-b139-33dc4287b756/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL2F6dXJlLXNkay9wcm9qZWN0SWQvMjllYzYwNDAtYjIzNC00ZTMxLWIxMzktMzNkYzQyODdiNzU2L2J1aWxkSWQvNTMxMzc1NS9hcnRpZmFjdE5hbWUvYnVpbGRfYXJ0aWZhY3RzX3B5dGhvbg2/content?format=file&subPath=%2Fpackages%2Ftypespec-http-client-python-0.16.0.tgz(u6ty2hffr3qbaepqntv4k5p2hu)': dependencies: '@azure-tools/typespec-autorest': 0.59.1(4qmm6n6o7ftevfz5poc4nn6iku) '@azure-tools/typespec-azure-core': 0.59.0(@typespec/compiler@1.3.0(@types/node@24.1.0))(@typespec/http@1.3.0(@typespec/compiler@1.3.0(@types/node@24.1.0))(@typespec/streams@0.73.0(@typespec/compiler@1.3.0(@types/node@24.1.0))))(@typespec/rest@0.73.0(@typespec/compiler@1.3.0(@types/node@24.1.0))(@typespec/http@1.3.0(@typespec/compiler@1.3.0(@types/node@24.1.0))(@typespec/streams@0.73.0(@typespec/compiler@1.3.0(@types/node@24.1.0))))) From c48d1b844e2a8aa43ef2224bf2b0ab5317fb8592 Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 9 Sep 2025 19:06:21 +0000 Subject: [PATCH 3/6] Regenerate for typespec-python (2025-09-09 19:06:21) --- .../authentication/apikey/models/__init__.py | 2 ++ .../authentication/http/custom/models/__init__.py | 2 ++ .../authentication/oauth2/models/__init__.py | 2 ++ .../specs/azure/clientgenerator/core/access/models/__init__.py | 2 ++ .../core/clientinitialization/models/__init__.py | 2 ++ .../azure/clientgenerator/core/emptystring/models/__init__.py | 2 ++ .../clientgenerator/core/flattenproperty/models/__init__.py | 2 ++ .../clientgenerator/core/hierarchybuilding/models/__init__.py | 2 ++ .../azure/clientgenerator/core/override/models/__init__.py | 2 ++ .../specs/azure/clientgenerator/core/usage/models/__init__.py | 2 ++ .../azure-core-basic/specs/azure/core/basic/models/__init__.py | 2 ++ .../specs/azure/core/lro/rpc/models/__init__.py | 2 ++ .../specs/azure/core/lro/standard/models/__init__.py | 2 ++ .../azure-core-model/specs/azure/core/model/models/__init__.py | 2 ++ .../specs/azure/core/scalar/models/__init__.py | 2 ++ .../specs/azure/encode/duration/models/__init__.py | 2 ++ .../specs/azure/payload/pageable/models/__init__.py | 2 ++ .../azure/resourcemanager/largeheader/models/__init__.py | 2 ++ .../azure/resourcemanager/nonresource/models/__init__.py | 2 ++ .../client/clientnamespace/first/models/__init__.py | 2 ++ .../client/clientnamespace/second/models/__init__.py | 2 ++ .../client/clientnamespace/second/sub/models/__init__.py | 2 ++ .../client-overload/client/overload/models/__init__.py | 2 ++ .../client/structure/service/models/__init__.py | 2 ++ .../client/structure/multiclient/models/__init__.py | 2 ++ .../client/structure/renamedoperation/models/__init__.py | 2 ++ .../client/structure/twooperationgroup/models/__init__.py | 2 ++ .../generated/encode-bytes/encode/bytes/models/__init__.py | 2 ++ .../encode-datetime/encode/datetime/models/__init__.py | 2 ++ .../encode-duration/encode/duration/models/__init__.py | 2 ++ .../generated/encode-numeric/encode/numeric/models/__init__.py | 2 ++ .../generation/subdir/_generated/models/__init__.py | 2 ++ .../headasbooleanfalse/headasbooleanfalse/models/__init__.py | 2 ++ .../headasbooleantrue/headasbooleantrue/models/__init__.py | 2 ++ .../parameters-basic/parameters/basic/models/__init__.py | 2 ++ .../parameters/bodyoptionality/models/__init__.py | 2 ++ .../parameters-spread/parameters/spread/models/__init__.py | 2 ++ .../payload/contentnegotiation/models/__init__.py | 2 ++ .../payload/jsonmergepatch/models/__init__.py | 2 ++ .../payload-multipart/payload/multipart/models/__init__.py | 2 ++ .../payload-pageable/payload/pageable/models/__init__.py | 2 ++ .../serverdrivenpagination/continuationtoken/models/__init__.py | 2 ++ .../payload/pageable/serverdrivenpagination/models/__init__.py | 2 ++ .../azure/generated/payload-xml/payload/xml/models/__init__.py | 2 ++ .../response/statuscoderange/models/__init__.py | 2 ++ .../serialization/encodedname/json/models/__init__.py | 2 ++ .../server/path/multiple/models/__init__.py | 2 ++ .../generated/special-words/specialwords/models/__init__.py | 2 ++ .../generated/typetest-array/typetest/array/models/__init__.py | 2 ++ .../typetest-dictionary/typetest/dictionary/models/__init__.py | 2 ++ .../typetest/enum/extensible/models/__init__.py | 2 ++ .../typetest-enum-fixed/typetest/enum/fixed/models/__init__.py | 2 ++ .../typetest/model/empty/models/__init__.py | 2 ++ .../typetest/model/nesteddiscriminator/models/__init__.py | 2 ++ .../typetest/model/notdiscriminated/models/__init__.py | 2 ++ .../typetest/model/recursive/models/__init__.py | 2 ++ .../typetest/model/singlediscriminator/models/__init__.py | 2 ++ .../typetest/model/usage/models/__init__.py | 2 ++ .../typetest/model/visibility/models/__init__.py | 2 ++ .../typetest/property/additionalproperties/models/__init__.py | 2 ++ .../typetest/property/nullable/models/__init__.py | 2 ++ .../typetest/property/optional/models/__init__.py | 2 ++ .../versioning/returntypechangedfrom/models/__init__.py | 2 ++ .../authentication/apikey/models/__init__.py | 2 ++ .../authentication/http/custom/models/__init__.py | 2 ++ .../authentication/oauth2/models/__init__.py | 2 ++ .../generated/encode-bytes/encode/bytes/models/__init__.py | 2 ++ .../encode-datetime/encode/datetime/models/__init__.py | 2 ++ .../encode-duration/encode/duration/property/models/__init__.py | 2 ++ .../encode-numeric/encode/numeric/property/models/__init__.py | 2 ++ .../generation/subdir/_generated/models/__init__.py | 2 ++ .../headasbooleanfalse/headasbooleanfalse/models/__init__.py | 2 ++ .../headasbooleantrue/headasbooleantrue/models/__init__.py | 2 ++ .../parameters/basic/explicitbody/models/__init__.py | 2 ++ .../parameters/bodyoptionality/models/__init__.py | 2 ++ .../parameters/spread/model/models/__init__.py | 2 ++ .../payload/contentnegotiation/differentbody/models/__init__.py | 2 ++ .../payload/jsonmergepatch/models/__init__.py | 2 ++ .../multipart/formdata/httpparts/nonstring/models/__init__.py | 2 ++ .../payload/multipart/formdata/models/__init__.py | 2 ++ .../payload-multipart/payload/multipart/models/__init__.py | 2 ++ .../payload-pageable/payload/pageable/models/__init__.py | 2 ++ .../serverdrivenpagination/continuationtoken/models/__init__.py | 2 ++ .../payload/pageable/serverdrivenpagination/models/__init__.py | 2 ++ .../generated/payload-xml/payload/xml/models/__init__.py | 2 ++ .../response/statuscoderange/models/__init__.py | 2 ++ .../serialization/encodedname/json/property/models/__init__.py | 2 ++ .../server/path/multiple/models/__init__.py | 2 ++ .../specialwords/modelproperties/models/__init__.py | 2 ++ .../special-words/specialwords/models/models/__init__.py | 2 ++ .../generated/typetest-array/typetest/array/models/__init__.py | 2 ++ .../typetest-dictionary/typetest/dictionary/models/__init__.py | 2 ++ .../typetest/enum/extensible/models/__init__.py | 2 ++ .../typetest-enum-fixed/typetest/enum/fixed/models/__init__.py | 2 ++ .../typetest/model/empty/models/__init__.py | 2 ++ .../typetest/model/nesteddiscriminator/models/__init__.py | 2 ++ .../typetest/model/notdiscriminated/models/__init__.py | 2 ++ .../typetest/model/recursive/models/__init__.py | 2 ++ .../typetest/model/singlediscriminator/models/__init__.py | 2 ++ .../typetest/model/usage/models/__init__.py | 2 ++ .../typetest/model/visibility/models/__init__.py | 2 ++ .../typetest/property/additionalproperties/models/__init__.py | 2 ++ .../typetest/property/nullable/models/__init__.py | 2 ++ .../typetest/property/optional/models/__init__.py | 2 ++ .../versioning/returntypechangedfrom/models/__init__.py | 2 ++ 105 files changed, 210 insertions(+) diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py index afdf5ab4e36..9f5a21a97ad 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py index afdf5ab4e36..9f5a21a97ad 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py index afdf5ab4e36..9f5a21a97ad 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py index 19e5aaae4b4..2dfde27f140 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py @@ -19,6 +19,8 @@ PublicDecoratorModelInPublic, SharedModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py index 08806180ab5..8aaa3a865c5 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py @@ -18,6 +18,8 @@ Input, WithBodyRequest, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py index adb157e2cbf..911af7e4348 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore ResponseModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py index 5315d18dff9..18a92183644 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py @@ -19,6 +19,8 @@ FlattenModel, NestedFlattenModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py index 085996a8765..5802cb55350 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py @@ -18,6 +18,8 @@ Dog, Pet, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py index fe6cb661d89..419cf7213de 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore GroupParametersOptions, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py index e5ed72eb8fc..5356c014d33 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py @@ -20,6 +20,8 @@ ResultModel, RoundTripModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py index 7d9287ac247..36b76c8eac4 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py @@ -18,6 +18,8 @@ UserList, UserOrder, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py index 557181480b2..f6a81744b07 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py @@ -17,6 +17,8 @@ GenerationOptions, GenerationResult, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py index ee2a65b6535..77ab078f62f 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py @@ -17,6 +17,8 @@ ExportedUser, User, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py index 549c4df4819..4682796896b 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore AzureEmbeddingModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py index 042fbdea8f1..11326bcb8ae 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore AzureLocationModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py index e9df0d132b5..a5c4719c911 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore DurationModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py index 7e2610ea680..4bfa6f729ca 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore User, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py index 8ca2e5f0db1..df2786a4ff6 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py @@ -19,6 +19,8 @@ ErrorDetail, ErrorResponse, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py index f85a13a853b..0d878499102 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py @@ -19,6 +19,8 @@ ErrorResponse, NonResource, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py index d2634721e6c..be2701bcba1 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore FirstClientResult, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py index ca608d6ae44..9db148347a3 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore SecondClientResult, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py index b5c580339ea..121627a15cb 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore SecondClientEnumType, ) diff --git a/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py b/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py index 2ed4f871072..561acaf776e 100644 --- a/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore Resource, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py index 7d5b45d151b..25ed69be418 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py index 7d5b45d151b..25ed69be418 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py index 7d5b45d151b..25ed69be418 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py index 7d5b45d151b..25ed69be418 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py index 651971cb025..bd7e6825419 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py @@ -19,6 +19,8 @@ Base64urlBytesProperty, DefaultBytesProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py index a520b984a7a..51e28915824 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py @@ -20,6 +20,8 @@ UnixTimestampArrayDatetimeProperty, UnixTimestampDatetimeProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py index 19131e3275d..31954a4faa6 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py @@ -21,6 +21,8 @@ ISO8601DurationProperty, Int32SecondsDurationProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py index 9b71ce5e4ee..644e2d28002 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py @@ -18,6 +18,8 @@ Uint32AsStringProperty, Uint8AsStringProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py b/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py index ee21d83d171..30d50d84b1f 100644 --- a/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py @@ -17,6 +17,8 @@ Element, Extension, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py index 0ba8c6b40d6..87acca67274 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py @@ -17,6 +17,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py index 0ba8c6b40d6..87acca67274 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py @@ -17,6 +17,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py index 7e2610ea680..4bfa6f729ca 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore User, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py index 700fcd1e655..d81792501f5 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore BodyModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py index 573eab6a3fd..519cbf58132 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore BodyParameter, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py index da6ad46bb9e..c581d523664 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore PngImageAsJson, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py index 8a09827ff02..d64ff5b769c 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py @@ -18,6 +18,8 @@ Resource, ResourcePatch, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py index e5f1896cf7d..bc792d61c79 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py @@ -27,6 +27,8 @@ MultiBinaryPartsRequest, MultiPartRequest, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py index eda60593014..b3494d8c093 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore Pet, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py index 1769a723981..9f15b927e26 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py @@ -19,6 +19,8 @@ RequestQueryNestedResponseBodyResponseNestedItems, RequestQueryNestedResponseBodyResponseNestedNext, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py index 14e3ec49eb1..954a0d7059e 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py @@ -17,6 +17,8 @@ NestedLinkResponseNestedItems, NestedLinkResponseNestedNext, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py index 5abef18076e..3c49aeae09c 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py @@ -27,6 +27,8 @@ ModelWithUnwrappedArray, SimpleModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py index f77e6db26dd..fb352326ced 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py @@ -19,6 +19,8 @@ NotFoundError, Standard4XXError, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py index ae9b847704f..0baff7a0e77 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore JsonEncodedNameModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py index 8ee7511813e..508daedcf8b 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py index c7efcf1f285..3e39956698e 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py @@ -49,6 +49,8 @@ WithModel, YieldModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py index e87b77e0b91..aa837606fdf 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore InnerModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py index e87b77e0b91..aa837606fdf 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py @@ -16,6 +16,8 @@ from ._models import ( # type: ignore InnerModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py index 14d43225b08..0228199ce55 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore DaysOfWeekExtensibleEnum, ) diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py index b54200145a6..f765294fb61 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore DaysOfWeekEnum, ) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py index f755987d47b..b159aee4834 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py @@ -18,6 +18,8 @@ EmptyInputOutput, EmptyOutput, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py index 4e00e8e4f59..a4bf6c5a4e6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py @@ -20,6 +20,8 @@ SawShark, Shark, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py index 82917b2a4ee..1355ec2a12d 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py @@ -18,6 +18,8 @@ Pet, Siamese, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py index ee21d83d171..30d50d84b1f 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py @@ -17,6 +17,8 @@ Element, Extension, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py index b19768d5048..f14de218271 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py @@ -22,6 +22,8 @@ Sparrow, TRex, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py index f51b1efc84e..6ba72fc13be 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py @@ -18,6 +18,8 @@ InputRecord, OutputRecord, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py index 0ba8c6b40d6..87acca67274 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py @@ -17,6 +17,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py index b367be58424..d23e278a0a2 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py @@ -52,6 +52,8 @@ WidgetData1, WidgetData2, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py index 9a38ab728d0..4cdc5dd9db4 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py @@ -23,6 +23,8 @@ InnerModel, StringProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py index 1066277c5db..7b29ac92b49 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py @@ -31,6 +31,8 @@ UnionIntLiteralProperty, UnionStringLiteralProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py index 8ee7511813e..508daedcf8b 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py index 8187b432556..df8457a745f 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py index 8187b432556..df8457a745f 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py index 8187b432556..df8457a745f 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore InvalidAuth, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py index 771e6a02d4b..b3d7ceaa1b3 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py @@ -13,6 +13,8 @@ Base64urlBytesProperty, DefaultBytesProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py index 0a19f503f0a..643fd79514c 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py @@ -14,6 +14,8 @@ UnixTimestampArrayDatetimeProperty, UnixTimestampDatetimeProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py index af6b1e6cb18..11f328b3c3e 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py @@ -15,6 +15,8 @@ ISO8601DurationProperty, Int32SecondsDurationProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py index 8fa26c84f44..7bac81b77ea 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py @@ -12,6 +12,8 @@ Uint32AsStringProperty, Uint8AsStringProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py b/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py index c72412ad27f..15687aa1c8a 100644 --- a/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py @@ -11,6 +11,8 @@ Element, Extension, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py index d9c235fbae0..8f4ddc28e63 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py @@ -11,6 +11,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py index d9c235fbae0..8f4ddc28e63 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py @@ -11,6 +11,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py index 4cb63b0a168..4ba56aed050 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore User, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py index f2adadb64cd..b73c53f7d50 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore BodyModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py index 84dcd89ea86..9c552293b4a 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore BodyParameter, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py index 36bf9f857f2..ee1e42c82d1 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore PngImageAsJson, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py index 763fe7e6f17..42a5ce45c26 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py @@ -12,6 +12,8 @@ Resource, ResourcePatch, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py index 4a9701fd459..6bfa90b0eda 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore FloatRequest, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py index c5f6fcb7501..25516712ecf 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore AnonymousModelRequest, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py index 05908cc2bb9..7b1d6063035 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py @@ -19,6 +19,8 @@ MultiBinaryPartsRequest, MultiPartRequest, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py index eca9f6d7b8b..2a0a050ab45 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore Pet, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py index 42fc7679acb..03e3556614c 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py @@ -13,6 +13,8 @@ RequestQueryNestedResponseBodyResponseNestedItems, RequestQueryNestedResponseBodyResponseNestedNext, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py index 371101fa7cd..80ebb89bf35 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py @@ -11,6 +11,8 @@ NestedLinkResponseNestedItems, NestedLinkResponseNestedNext, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py index e89a33c7aac..460ef8431cb 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py @@ -21,6 +21,8 @@ ModelWithUnwrappedArray, SimpleModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py index 4bad01fd68b..9f2c78c40ca 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py @@ -13,6 +13,8 @@ NotFoundError, Standard4XXError, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py index 7b49da89deb..4c1ee904ed3 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore JsonEncodedNameModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py index f8b97f7eed8..4a22e11b219 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py @@ -7,6 +7,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py index 00970c609a6..775370dab51 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore SameAsModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py index b4ef9838a25..62705d793be 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py @@ -42,6 +42,8 @@ WithModel, YieldModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py index db95b2b44b7..574911a8986 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore InnerModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py index db95b2b44b7..574911a8986 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py @@ -10,6 +10,8 @@ from ._models import ( # type: ignore InnerModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py index ffc720b61f5..22e37f8b893 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py @@ -7,6 +7,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore DaysOfWeekExtensibleEnum, ) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py index 00eb73e2f68..5012c744777 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py @@ -7,6 +7,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore DaysOfWeekEnum, ) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py index 08c8ada02ff..75969dee9af 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py @@ -12,6 +12,8 @@ EmptyInputOutput, EmptyOutput, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py index 3b7819f743c..f5bbbf7095f 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py @@ -14,6 +14,8 @@ SawShark, Shark, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py index 68ab5405c20..4996f444b02 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py @@ -12,6 +12,8 @@ Pet, Siamese, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py index c72412ad27f..15687aa1c8a 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py @@ -11,6 +11,8 @@ Element, Extension, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py index 04145d22215..61b383bfd35 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py @@ -16,6 +16,8 @@ Sparrow, TRex, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py index d95bed72abd..4e5a83e4269 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py @@ -12,6 +12,8 @@ InputRecord, OutputRecord, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py index d9c235fbae0..8f4ddc28e63 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py @@ -11,6 +11,8 @@ ReadOnlyModel, VisibilityModel, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py index f24aca31668..a37696a9519 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py @@ -46,6 +46,8 @@ WidgetData1, WidgetData2, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py index 68fc8f8e27b..0a18d76075b 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py @@ -17,6 +17,8 @@ InnerModel, StringProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py index 44f3bb9ac8a..612b51f182b 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py @@ -25,6 +25,8 @@ UnionIntLiteralProperty, UnionStringLiteralProperty, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py index f8b97f7eed8..4a22e11b219 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py @@ -7,6 +7,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._enums import ( # type: ignore Versions, ) From 791f5cae116696450fb67cb805513e38697e03fe Mon Sep 17 00:00:00 2001 From: AutoPrFromHttpClientPython Date: Tue, 9 Sep 2025 19:20:42 +0000 Subject: [PATCH 4/6] Regenerate for autorest.python (2025-09-09 19:20:42) --- .../AzureBodyDuration/bodyduration/models/__init__.py | 2 ++ .../azureparametergrouping/models/__init__.py | 2 ++ .../AcceptanceTests/AzureReport/azurereport/models/__init__.py | 2 ++ .../AzureSpecials/azurespecialproperties/models/__init__.py | 2 ++ .../CustomBaseUri/custombaseurl/models/__init__.py | 2 ++ .../CustomUrlPaging/custombaseurlpaging/models/__init__.py | 2 ++ .../lrowithparameterizedendpoints/models/__init__.py | 2 ++ .../MixedApiVersion/mixedapiversion/models/__init__.py | 2 ++ .../subscriptionidapiversion/models/__init__.py | 2 ++ .../additionalproperties/models/__init__.py | 2 ++ .../AcceptanceTests/BodyBinary/bodybinary/models/__init__.py | 2 ++ .../AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py | 2 ++ .../AcceptanceTests/BodyByte/bodybyte/models/__init__.py | 2 ++ .../bodybytewithpackagename/models/__init__.py | 2 ++ .../AcceptanceTests/BodyDate/bodydate/models/__init__.py | 2 ++ .../BodyDateTime/bodydatetime/models/__init__.py | 2 ++ .../BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py | 2 ++ .../BodyDictionary/bodydictionary/models/__init__.py | 2 ++ .../BodyDuration/bodyduration/models/__init__.py | 2 ++ .../AcceptanceTests/BodyFile/bodyfile/models/__init__.py | 2 ++ .../BodyFormData/bodyformdata/models/__init__.py | 2 ++ .../AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py | 2 ++ .../AcceptanceTests/BodyNumber/bodynumber/models/__init__.py | 2 ++ .../AcceptanceTests/BodyTime/bodytime/models/__init__.py | 2 ++ .../CustomBaseUri/custombaseurl/models/__init__.py | 2 ++ .../custombaseurlmoreoptions/models/__init__.py | 2 ++ .../AcceptanceTests/Http/httpinfrastructure/models/__init__.py | 2 ++ .../incorrecterrorresponse/models/__init__.py | 2 ++ .../MultipleInheritance/multipleinheritance/models/__init__.py | 2 ++ .../NoOperations/nooperations/models/__init__.py | 2 ++ .../NonStringEnums/nonstringenums/models/__init__.py | 2 ++ .../ParameterFlattening/parameterflattening/models/__init__.py | 2 ++ .../Expected/AcceptanceTests/Report/report/models/__init__.py | 2 ++ .../RequiredOptional/requiredoptional/models/__init__.py | 2 ++ .../urlmulticollectionformat/models/__init__.py | 2 ++ .../AcceptanceTests/Validation/validation/models/__init__.py | 2 ++ .../XmsErrorResponse/xmserrorresponse/models/__init__.py | 2 ++ 37 files changed, 74 insertions(+) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py index 85196579762..edaae206ff0 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py @@ -22,6 +22,8 @@ ParameterGroupingPostRequiredParameters, ParameterGroupingPostReservedWordsParameters, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py index f2b79c87a9c..05621cae34d 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py @@ -18,6 +18,8 @@ HeaderCustomNamedRequestIdParamGroupingParameters, OdataFilter, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py index 61e82594ab7..58233f9a5fe 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py @@ -19,6 +19,8 @@ ProductProperties, ProductResult, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py index f2b79c87a9c..05621cae34d 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py @@ -18,6 +18,8 @@ HeaderCustomNamedRequestIdParamGroupingParameters, OdataFilter, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py index 9969360453a..d15bed3177c 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py @@ -17,6 +17,8 @@ Error, SampleResourceGroup, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py index b27a888fed1..e41a47f374a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py @@ -22,6 +22,8 @@ PetAPString, PetAPTrue, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py index c68a8257a2a..94693fdef7a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py @@ -17,6 +17,8 @@ Error, Widget, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py index 24f83e6cf0b..a46f7460236 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py @@ -18,6 +18,8 @@ Paths1MqqetpFormdataStreamUploadfilePostRequestbodyContentMultipartFormDataSchema, Paths1P3Stk3FormdataStreamUploadfilesPostRequestbodyContentMultipartFormDataSchema, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py index 800c92f7912..c740a1661cd 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py @@ -20,6 +20,8 @@ Error, MyException, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py index deeeccbe05f..71534bd872c 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py @@ -21,6 +21,8 @@ Kitten, Pet, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py index 4bacc1c6a35..d2bbfeb4587 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py @@ -13,6 +13,8 @@ from ._patch import * # pylint: disable=unused-wildcard-import +from . import _models + from ._non_string_enums_client_enums import ( # type: ignore FloatEnum, IntEnum, diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py index ba23e759aca..baf479fff80 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore AvailabilitySetUpdateParameters, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py index 49bc1c4f83a..f5e811c3cbf 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py @@ -25,6 +25,8 @@ StringOptionalWrapper, StringWrapper, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py index 187235acc3a..89f6328fab2 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py @@ -16,6 +16,8 @@ from ._models_py3 import ( # type: ignore Error, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py index dc2d4545810..44a01b9433b 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py @@ -19,6 +19,8 @@ Error, Product, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py index 11bf469b3e5..1cbd1d3df83 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py @@ -25,6 +25,8 @@ PetHungryOrThirstyError, PetSadError, ) + +from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk From cd2c61a14e8ba2a0ac288aa8c3395d97d9288efa Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 11 Sep 2025 16:29:54 -0400 Subject: [PATCH 5/6] fix regen --- .../AzureBodyDuration/bodyduration/models/__init__.py | 2 -- .../azureparametergrouping/models/__init__.py | 2 -- .../AcceptanceTests/AzureReport/azurereport/models/__init__.py | 2 -- .../AzureSpecials/azurespecialproperties/models/__init__.py | 2 -- .../CustomBaseUri/custombaseurl/models/__init__.py | 2 -- .../CustomUrlPaging/custombaseurlpaging/models/__init__.py | 2 -- .../lrowithparameterizedendpoints/models/__init__.py | 2 -- .../MixedApiVersion/mixedapiversion/models/__init__.py | 2 -- .../subscriptionidapiversion/models/__init__.py | 2 -- .../additionalproperties/models/__init__.py | 2 -- .../AcceptanceTests/BodyBinary/bodybinary/models/__init__.py | 2 -- .../AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py | 2 -- .../AcceptanceTests/BodyByte/bodybyte/models/__init__.py | 2 -- .../bodybytewithpackagename/models/__init__.py | 2 -- .../AcceptanceTests/BodyDate/bodydate/models/__init__.py | 2 -- .../BodyDateTime/bodydatetime/models/__init__.py | 2 -- .../BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py | 2 -- .../BodyDictionary/bodydictionary/models/__init__.py | 2 -- .../BodyDuration/bodyduration/models/__init__.py | 2 -- .../AcceptanceTests/BodyFile/bodyfile/models/__init__.py | 2 -- .../BodyFormData/bodyformdata/models/__init__.py | 2 -- .../AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py | 2 -- .../AcceptanceTests/BodyNumber/bodynumber/models/__init__.py | 2 -- .../AcceptanceTests/BodyTime/bodytime/models/__init__.py | 2 -- .../CustomBaseUri/custombaseurl/models/__init__.py | 2 -- .../custombaseurlmoreoptions/models/__init__.py | 2 -- .../AcceptanceTests/Http/httpinfrastructure/models/__init__.py | 2 -- .../incorrecterrorresponse/models/__init__.py | 2 -- .../MultipleInheritance/multipleinheritance/models/__init__.py | 2 -- .../NoOperations/nooperations/models/__init__.py | 2 -- .../NonStringEnums/nonstringenums/models/__init__.py | 2 -- .../ParameterFlattening/parameterflattening/models/__init__.py | 2 -- .../Expected/AcceptanceTests/Report/report/models/__init__.py | 2 -- .../RequiredOptional/requiredoptional/models/__init__.py | 2 -- .../urlmulticollectionformat/models/__init__.py | 2 -- .../AcceptanceTests/Validation/validation/models/__init__.py | 2 -- .../XmsErrorResponse/xmserrorresponse/models/__init__.py | 2 -- .../authentication/apikey/models/__init__.py | 2 -- .../authentication/http/custom/models/__init__.py | 2 -- .../authentication/oauth2/models/__init__.py | 2 -- .../specs/azure/clientgenerator/core/access/models/__init__.py | 2 -- .../core/clientinitialization/models/__init__.py | 2 -- .../azure/clientgenerator/core/emptystring/models/__init__.py | 2 -- .../clientgenerator/core/flattenproperty/models/__init__.py | 2 -- .../clientgenerator/core/hierarchybuilding/models/__init__.py | 2 -- .../azure/clientgenerator/core/override/models/__init__.py | 2 -- .../specs/azure/clientgenerator/core/usage/models/__init__.py | 2 -- .../azure-core-basic/specs/azure/core/basic/models/__init__.py | 2 -- .../specs/azure/core/lro/rpc/models/__init__.py | 2 -- .../specs/azure/core/lro/standard/models/__init__.py | 2 -- .../azure-core-model/specs/azure/core/model/models/__init__.py | 2 -- .../specs/azure/core/scalar/models/__init__.py | 2 -- .../specs/azure/encode/duration/models/__init__.py | 2 -- .../specs/azure/payload/pageable/models/__init__.py | 2 -- .../azure/resourcemanager/largeheader/models/__init__.py | 2 -- .../azure/resourcemanager/nonresource/models/__init__.py | 2 -- .../client/clientnamespace/first/models/__init__.py | 2 -- .../client/clientnamespace/second/models/__init__.py | 2 -- .../client/clientnamespace/second/sub/models/__init__.py | 2 -- .../client-overload/client/overload/models/__init__.py | 2 -- .../client/structure/service/models/__init__.py | 2 -- .../client/structure/multiclient/models/__init__.py | 2 -- .../client/structure/renamedoperation/models/__init__.py | 2 -- .../client/structure/twooperationgroup/models/__init__.py | 2 -- .../generated/encode-bytes/encode/bytes/models/__init__.py | 2 -- .../encode-datetime/encode/datetime/models/__init__.py | 2 -- .../encode-duration/encode/duration/models/__init__.py | 2 -- .../generated/encode-numeric/encode/numeric/models/__init__.py | 2 -- .../generation/subdir/_generated/models/__init__.py | 2 -- .../headasbooleanfalse/headasbooleanfalse/models/__init__.py | 2 -- .../headasbooleantrue/headasbooleantrue/models/__init__.py | 2 -- .../parameters-basic/parameters/basic/models/__init__.py | 2 -- .../parameters/bodyoptionality/models/__init__.py | 2 -- .../parameters-spread/parameters/spread/models/__init__.py | 2 -- .../payload/contentnegotiation/models/__init__.py | 2 -- .../payload/jsonmergepatch/models/__init__.py | 2 -- .../payload-multipart/payload/multipart/models/__init__.py | 2 -- .../payload-pageable/payload/pageable/models/__init__.py | 2 -- .../serverdrivenpagination/continuationtoken/models/__init__.py | 2 -- .../payload/pageable/serverdrivenpagination/models/__init__.py | 2 -- .../azure/generated/payload-xml/payload/xml/models/__init__.py | 2 -- .../response/statuscoderange/models/__init__.py | 2 -- .../serialization/encodedname/json/models/__init__.py | 2 -- .../server/path/multiple/models/__init__.py | 2 -- .../generated/special-words/specialwords/models/__init__.py | 2 -- .../generated/typetest-array/typetest/array/models/__init__.py | 2 -- .../typetest-dictionary/typetest/dictionary/models/__init__.py | 2 -- .../typetest/enum/extensible/models/__init__.py | 2 -- .../typetest-enum-fixed/typetest/enum/fixed/models/__init__.py | 2 -- .../typetest/model/empty/models/__init__.py | 2 -- .../typetest/model/nesteddiscriminator/models/__init__.py | 2 -- .../typetest/model/notdiscriminated/models/__init__.py | 2 -- .../typetest/model/recursive/models/__init__.py | 2 -- .../typetest/model/singlediscriminator/models/__init__.py | 2 -- .../typetest/model/usage/models/__init__.py | 2 -- .../typetest/model/visibility/models/__init__.py | 2 -- .../typetest/property/additionalproperties/models/__init__.py | 2 -- .../typetest/property/nullable/models/__init__.py | 2 -- .../typetest/property/optional/models/__init__.py | 2 -- .../versioning/returntypechangedfrom/models/__init__.py | 2 -- .../authentication/apikey/models/__init__.py | 2 -- .../authentication/http/custom/models/__init__.py | 2 -- .../authentication/oauth2/models/__init__.py | 2 -- .../generated/encode-bytes/encode/bytes/models/__init__.py | 2 -- .../encode-datetime/encode/datetime/models/__init__.py | 2 -- .../encode-duration/encode/duration/property/models/__init__.py | 2 -- .../encode-numeric/encode/numeric/property/models/__init__.py | 2 -- .../generation/subdir/_generated/models/__init__.py | 2 -- .../headasbooleanfalse/headasbooleanfalse/models/__init__.py | 2 -- .../headasbooleantrue/headasbooleantrue/models/__init__.py | 2 -- .../parameters/basic/explicitbody/models/__init__.py | 2 -- .../parameters/bodyoptionality/models/__init__.py | 2 -- .../parameters/spread/model/models/__init__.py | 2 -- .../payload/contentnegotiation/differentbody/models/__init__.py | 2 -- .../payload/jsonmergepatch/models/__init__.py | 2 -- .../multipart/formdata/httpparts/nonstring/models/__init__.py | 2 -- .../payload/multipart/formdata/models/__init__.py | 2 -- .../payload-multipart/payload/multipart/models/__init__.py | 2 -- .../payload-pageable/payload/pageable/models/__init__.py | 2 -- .../serverdrivenpagination/continuationtoken/models/__init__.py | 2 -- .../payload/pageable/serverdrivenpagination/models/__init__.py | 2 -- .../generated/payload-xml/payload/xml/models/__init__.py | 2 -- .../response/statuscoderange/models/__init__.py | 2 -- .../serialization/encodedname/json/property/models/__init__.py | 2 -- .../server/path/multiple/models/__init__.py | 2 -- .../specialwords/modelproperties/models/__init__.py | 2 -- .../special-words/specialwords/models/models/__init__.py | 2 -- .../generated/typetest-array/typetest/array/models/__init__.py | 2 -- .../typetest-dictionary/typetest/dictionary/models/__init__.py | 2 -- .../typetest/enum/extensible/models/__init__.py | 2 -- .../typetest-enum-fixed/typetest/enum/fixed/models/__init__.py | 2 -- .../typetest/model/empty/models/__init__.py | 2 -- .../typetest/model/nesteddiscriminator/models/__init__.py | 2 -- .../typetest/model/notdiscriminated/models/__init__.py | 2 -- .../typetest/model/recursive/models/__init__.py | 2 -- .../typetest/model/singlediscriminator/models/__init__.py | 2 -- .../typetest/model/usage/models/__init__.py | 2 -- .../typetest/model/visibility/models/__init__.py | 2 -- .../typetest/property/additionalproperties/models/__init__.py | 2 -- .../typetest/property/nullable/models/__init__.py | 2 -- .../typetest/property/optional/models/__init__.py | 2 -- .../versioning/returntypechangedfrom/models/__init__.py | 2 -- 142 files changed, 284 deletions(-) diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureBodyDuration/bodyduration/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py index edaae206ff0..85196579762 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureParameterGrouping/azureparametergrouping/models/__init__.py @@ -22,8 +22,6 @@ ParameterGroupingPostRequiredParameters, ParameterGroupingPostReservedWordsParameters, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureReport/azurereport/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py index 05621cae34d..f2b79c87a9c 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/AzureSpecials/azurespecialproperties/models/__init__.py @@ -18,8 +18,6 @@ HeaderCustomNamedRequestIdParamGroupingParameters, OdataFilter, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py index 58233f9a5fe..61e82594ab7 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/CustomUrlPaging/custombaseurlpaging/models/__init__.py @@ -19,8 +19,6 @@ ProductProperties, ProductResult, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/LroWithParameterizedEndpoints/lrowithparameterizedendpoints/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py index 05621cae34d..f2b79c87a9c 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/MixedApiVersion/mixedapiversion/models/__init__.py @@ -18,8 +18,6 @@ HeaderCustomNamedRequestIdParamGroupingParameters, OdataFilter, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py index d15bed3177c..9969360453a 100644 --- a/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py +++ b/packages/autorest.python/test/azure/legacy/Expected/AcceptanceTests/SubscriptionIdApiVersion/subscriptionidapiversion/models/__init__.py @@ -17,8 +17,6 @@ Error, SampleResourceGroup, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py index e41a47f374a..b27a888fed1 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/AdditionalProperties/additionalproperties/models/__init__.py @@ -22,8 +22,6 @@ PetAPString, PetAPTrue, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBinary/bodybinary/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyBoolean/bodyboolean/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByte/bodybyte/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyByteWithPackageName/bodybytewithpackagename/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDate/bodydate/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTime/bodydatetime/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDateTimeRfc1123/bodydatetimerfc1123/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py index 94693fdef7a..c68a8257a2a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDictionary/bodydictionary/models/__init__.py @@ -17,8 +17,6 @@ Error, Widget, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyDuration/bodyduration/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFile/bodyfile/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py index a46f7460236..24f83e6cf0b 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyFormData/bodyformdata/models/__init__.py @@ -18,8 +18,6 @@ Paths1MqqetpFormdataStreamUploadfilePostRequestbodyContentMultipartFormDataSchema, Paths1P3Stk3FormdataStreamUploadfilesPostRequestbodyContentMultipartFormDataSchema, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyInteger/bodyinteger/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyNumber/bodynumber/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/BodyTime/bodytime/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUri/custombaseurl/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/CustomBaseUriMoreOptions/custombaseurlmoreoptions/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py index c740a1661cd..800c92f7912 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Http/httpinfrastructure/models/__init__.py @@ -20,8 +20,6 @@ Error, MyException, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/IncorrectErrorResponse/incorrecterrorresponse/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py index 71534bd872c..deeeccbe05f 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/MultipleInheritance/multipleinheritance/models/__init__.py @@ -21,8 +21,6 @@ Kitten, Pet, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NoOperations/nooperations/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py index d2bbfeb4587..4bacc1c6a35 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/NonStringEnums/nonstringenums/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._non_string_enums_client_enums import ( # type: ignore FloatEnum, IntEnum, diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py index baf479fff80..ba23e759aca 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/ParameterFlattening/parameterflattening/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore AvailabilitySetUpdateParameters, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Report/report/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py index f5e811c3cbf..49bc1c4f83a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/RequiredOptional/requiredoptional/models/__init__.py @@ -25,8 +25,6 @@ StringOptionalWrapper, StringWrapper, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py index 89f6328fab2..187235acc3a 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/UrlMultiCollectionFormat/urlmulticollectionformat/models/__init__.py @@ -16,8 +16,6 @@ from ._models_py3 import ( # type: ignore Error, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py index 44a01b9433b..dc2d4545810 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/Validation/validation/models/__init__.py @@ -19,8 +19,6 @@ Error, Product, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py index 1cbd1d3df83..11bf469b3e5 100644 --- a/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py +++ b/packages/autorest.python/test/vanilla/legacy/Expected/AcceptanceTests/XmsErrorResponse/xmserrorresponse/models/__init__.py @@ -25,8 +25,6 @@ PetHungryOrThirstyError, PetSadError, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py index 9f5a21a97ad..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-api-key/authentication/apikey/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py index 9f5a21a97ad..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-http-custom/authentication/http/custom/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py index 9f5a21a97ad..afdf5ab4e36 100644 --- a/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/authentication-oauth2/authentication/oauth2/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py index 2dfde27f140..19e5aaae4b4 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-access/specs/azure/clientgenerator/core/access/models/__init__.py @@ -19,8 +19,6 @@ PublicDecoratorModelInPublic, SharedModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py index 8aaa3a865c5..08806180ab5 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-client-initialization/specs/azure/clientgenerator/core/clientinitialization/models/__init__.py @@ -18,8 +18,6 @@ Input, WithBodyRequest, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py index 911af7e4348..adb157e2cbf 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-deserialize-empty-string-as-null/specs/azure/clientgenerator/core/emptystring/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore ResponseModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py index 18a92183644..5315d18dff9 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-flatten-property/specs/azure/clientgenerator/core/flattenproperty/models/__init__.py @@ -19,8 +19,6 @@ FlattenModel, NestedFlattenModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py index 5802cb55350..085996a8765 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-hierarchy-building/specs/azure/clientgenerator/core/hierarchybuilding/models/__init__.py @@ -18,8 +18,6 @@ Dog, Pet, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py index 419cf7213de..fe6cb661d89 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-override/specs/azure/clientgenerator/core/override/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore GroupParametersOptions, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py index 5356c014d33..e5ed72eb8fc 100644 --- a/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-client-generator-core-usage/specs/azure/clientgenerator/core/usage/models/__init__.py @@ -20,8 +20,6 @@ ResultModel, RoundTripModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py index 36b76c8eac4..7d9287ac247 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-basic/specs/azure/core/basic/models/__init__.py @@ -18,8 +18,6 @@ UserList, UserOrder, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py index f6a81744b07..557181480b2 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-rpc/specs/azure/core/lro/rpc/models/__init__.py @@ -17,8 +17,6 @@ GenerationOptions, GenerationResult, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py index 77ab078f62f..ee2a65b6535 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-lro-standard/specs/azure/core/lro/standard/models/__init__.py @@ -17,8 +17,6 @@ ExportedUser, User, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py index 4682796896b..549c4df4819 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-model/specs/azure/core/model/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore AzureEmbeddingModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py index 11326bcb8ae..042fbdea8f1 100644 --- a/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-core-scalar/specs/azure/core/scalar/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore AzureLocationModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py index a5c4719c911..e9df0d132b5 100644 --- a/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-encode-duration/specs/azure/encode/duration/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore DurationModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py index 4bfa6f729ca..7e2610ea680 100644 --- a/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-payload-pageable/specs/azure/payload/pageable/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore User, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py index df2786a4ff6..8ca2e5f0db1 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-large-header/azure/resourcemanager/largeheader/models/__init__.py @@ -19,8 +19,6 @@ ErrorDetail, ErrorResponse, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py index 0d878499102..f85a13a853b 100644 --- a/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/azure-resource-manager-non-resource/azure/resourcemanager/nonresource/models/__init__.py @@ -19,8 +19,6 @@ ErrorResponse, NonResource, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py index be2701bcba1..d2634721e6c 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/first/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore FirstClientResult, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py index 9db148347a3..ca608d6ae44 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore SecondClientResult, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py index 121627a15cb..b5c580339ea 100644 --- a/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-namespace/client/clientnamespace/second/sub/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore SecondClientEnumType, ) diff --git a/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py b/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py index 561acaf776e..2ed4f871072 100644 --- a/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-overload/client/overload/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore Resource, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py index 25ed69be418..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-default/client/structure/service/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py index 25ed69be418..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-multiclient/client/structure/multiclient/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py index 25ed69be418..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-renamedoperation/client/structure/renamedoperation/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py index 25ed69be418..7d5b45d151b 100644 --- a/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/client-structure-twooperationgroup/client/structure/twooperationgroup/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore ClientType, ) diff --git a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py index bd7e6825419..651971cb025 100644 --- a/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-bytes/encode/bytes/models/__init__.py @@ -19,8 +19,6 @@ Base64urlBytesProperty, DefaultBytesProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py index 51e28915824..a520b984a7a 100644 --- a/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-datetime/encode/datetime/models/__init__.py @@ -20,8 +20,6 @@ UnixTimestampArrayDatetimeProperty, UnixTimestampDatetimeProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py index 31954a4faa6..19131e3275d 100644 --- a/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-duration/encode/duration/models/__init__.py @@ -21,8 +21,6 @@ ISO8601DurationProperty, Int32SecondsDurationProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py index 644e2d28002..9b71ce5e4ee 100644 --- a/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/encode-numeric/encode/numeric/models/__init__.py @@ -18,8 +18,6 @@ Uint32AsStringProperty, Uint8AsStringProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py b/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py index 30d50d84b1f..ee21d83d171 100644 --- a/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/generation-subdir/generation/subdir/_generated/models/__init__.py @@ -17,8 +17,6 @@ Element, Extension, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py index 87acca67274..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py @@ -17,8 +17,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py index 87acca67274..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/headasbooleantrue/headasbooleantrue/models/__init__.py @@ -17,8 +17,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py index 4bfa6f729ca..7e2610ea680 100644 --- a/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-basic/parameters/basic/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore User, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py index d81792501f5..700fcd1e655 100644 --- a/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore BodyModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py index 519cbf58132..573eab6a3fd 100644 --- a/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/parameters-spread/parameters/spread/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore BodyParameter, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py index c581d523664..da6ad46bb9e 100644 --- a/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-content-negotiation/payload/contentnegotiation/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore PngImageAsJson, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py index d64ff5b769c..8a09827ff02 100644 --- a/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py @@ -18,8 +18,6 @@ Resource, ResourcePatch, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py index bc792d61c79..e5f1896cf7d 100644 --- a/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-multipart/payload/multipart/models/__init__.py @@ -27,8 +27,6 @@ MultiBinaryPartsRequest, MultiPartRequest, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py index b3494d8c093..eda60593014 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore Pet, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py index 9f15b927e26..1769a723981 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py @@ -19,8 +19,6 @@ RequestQueryNestedResponseBodyResponseNestedItems, RequestQueryNestedResponseBodyResponseNestedNext, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py index 954a0d7059e..14e3ec49eb1 100644 --- a/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py @@ -17,8 +17,6 @@ NestedLinkResponseNestedItems, NestedLinkResponseNestedNext, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py index 3c49aeae09c..5abef18076e 100644 --- a/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/payload-xml/payload/xml/models/__init__.py @@ -27,8 +27,6 @@ ModelWithUnwrappedArray, SimpleModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py index fb352326ced..f77e6db26dd 100644 --- a/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/response-status-code-range/response/statuscoderange/models/__init__.py @@ -19,8 +19,6 @@ NotFoundError, Standard4XXError, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py index 0baff7a0e77..ae9b847704f 100644 --- a/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/serialization-encoded-name-json/serialization/encodedname/json/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore JsonEncodedNameModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py index 508daedcf8b..8ee7511813e 100644 --- a/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/server-path-multiple/server/path/multiple/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py index 3e39956698e..c7efcf1f285 100644 --- a/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/special-words/specialwords/models/__init__.py @@ -49,8 +49,6 @@ WithModel, YieldModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py index aa837606fdf..e87b77e0b91 100644 --- a/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-array/typetest/array/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore InnerModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py index aa837606fdf..e87b77e0b91 100644 --- a/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-dictionary/typetest/dictionary/models/__init__.py @@ -16,8 +16,6 @@ from ._models import ( # type: ignore InnerModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py index 0228199ce55..14d43225b08 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore DaysOfWeekExtensibleEnum, ) diff --git a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py index f765294fb61..b54200145a6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore DaysOfWeekEnum, ) diff --git a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py index b159aee4834..f755987d47b 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-empty/typetest/model/empty/models/__init__.py @@ -18,8 +18,6 @@ EmptyInputOutput, EmptyOutput, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py index a4bf6c5a4e6..4e00e8e4f59 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py @@ -20,8 +20,6 @@ SawShark, Shark, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py index 1355ec2a12d..82917b2a4ee 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py @@ -18,8 +18,6 @@ Pet, Siamese, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py index 30d50d84b1f..ee21d83d171 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py @@ -17,8 +17,6 @@ Element, Extension, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py index f14de218271..b19768d5048 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py @@ -22,8 +22,6 @@ Sparrow, TRex, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py index 6ba72fc13be..f51b1efc84e 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-usage/typetest/model/usage/models/__init__.py @@ -18,8 +18,6 @@ InputRecord, OutputRecord, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py index 87acca67274..0ba8c6b40d6 100644 --- a/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py @@ -17,8 +17,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py index d23e278a0a2..b367be58424 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py @@ -52,8 +52,6 @@ WidgetData1, WidgetData2, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py index 4cdc5dd9db4..9a38ab728d0 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py @@ -23,8 +23,6 @@ InnerModel, StringProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py index 7b29ac92b49..1066277c5db 100644 --- a/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/typetest-property-optional/typetest/property/optional/models/__init__.py @@ -31,8 +31,6 @@ UnionIntLiteralProperty, UnionStringLiteralProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py index 508daedcf8b..8ee7511813e 100644 --- a/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/azure/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py @@ -13,8 +13,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py index df8457a745f..8187b432556 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-api-key/authentication/apikey/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py index df8457a745f..8187b432556 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-http-custom/authentication/http/custom/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py index df8457a745f..8187b432556 100644 --- a/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/authentication-oauth2/authentication/oauth2/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore InvalidAuth, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py index b3d7ceaa1b3..771e6a02d4b 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-bytes/encode/bytes/models/__init__.py @@ -13,8 +13,6 @@ Base64urlBytesProperty, DefaultBytesProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py index 643fd79514c..0a19f503f0a 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-datetime/encode/datetime/models/__init__.py @@ -14,8 +14,6 @@ UnixTimestampArrayDatetimeProperty, UnixTimestampDatetimeProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py index 11f328b3c3e..af6b1e6cb18 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-duration/encode/duration/property/models/__init__.py @@ -15,8 +15,6 @@ ISO8601DurationProperty, Int32SecondsDurationProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py index 7bac81b77ea..8fa26c84f44 100644 --- a/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/encode-numeric/encode/numeric/property/models/__init__.py @@ -12,8 +12,6 @@ Uint32AsStringProperty, Uint8AsStringProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py b/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py index 15687aa1c8a..c72412ad27f 100644 --- a/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/generation-subdir/generation/subdir/_generated/models/__init__.py @@ -11,8 +11,6 @@ Element, Extension, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py index 8f4ddc28e63..d9c235fbae0 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleanfalse/headasbooleanfalse/models/__init__.py @@ -11,8 +11,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py index 8f4ddc28e63..d9c235fbae0 100644 --- a/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/headasbooleantrue/headasbooleantrue/models/__init__.py @@ -11,8 +11,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py index 4ba56aed050..4cb63b0a168 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-basic/parameters/basic/explicitbody/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore User, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py index b73c53f7d50..f2adadb64cd 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-body-optionality/parameters/bodyoptionality/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore BodyModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py index 9c552293b4a..84dcd89ea86 100644 --- a/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/parameters-spread/parameters/spread/model/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore BodyParameter, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py index ee1e42c82d1..36bf9f857f2 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-content-negotiation/payload/contentnegotiation/differentbody/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore PngImageAsJson, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py index 42a5ce45c26..763fe7e6f17 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-json-merge-patch/payload/jsonmergepatch/models/__init__.py @@ -12,8 +12,6 @@ Resource, ResourcePatch, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py index 6bfa90b0eda..4a9701fd459 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/httpparts/nonstring/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore FloatRequest, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py index 25516712ecf..c5f6fcb7501 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/formdata/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore AnonymousModelRequest, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py index 7b1d6063035..05908cc2bb9 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-multipart/payload/multipart/models/__init__.py @@ -19,8 +19,6 @@ MultiBinaryPartsRequest, MultiPartRequest, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py index 2a0a050ab45..eca9f6d7b8b 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore Pet, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py index 03e3556614c..42fc7679acb 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/continuationtoken/models/__init__.py @@ -13,8 +13,6 @@ RequestQueryNestedResponseBodyResponseNestedItems, RequestQueryNestedResponseBodyResponseNestedNext, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py index 80ebb89bf35..371101fa7cd 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-pageable/payload/pageable/serverdrivenpagination/models/__init__.py @@ -11,8 +11,6 @@ NestedLinkResponseNestedItems, NestedLinkResponseNestedNext, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py index 460ef8431cb..e89a33c7aac 100644 --- a/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/payload-xml/payload/xml/models/__init__.py @@ -21,8 +21,6 @@ ModelWithUnwrappedArray, SimpleModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py index 9f2c78c40ca..4bad01fd68b 100644 --- a/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/response-status-code-range/response/statuscoderange/models/__init__.py @@ -13,8 +13,6 @@ NotFoundError, Standard4XXError, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py index 4c1ee904ed3..7b49da89deb 100644 --- a/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/serialization-encoded-name-json/serialization/encodedname/json/property/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore JsonEncodedNameModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py index 4a22e11b219..f8b97f7eed8 100644 --- a/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/server-path-multiple/server/path/multiple/models/__init__.py @@ -7,8 +7,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore Versions, ) diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py index 775370dab51..00970c609a6 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/modelproperties/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore SameAsModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py index 62705d793be..b4ef9838a25 100644 --- a/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/special-words/specialwords/models/models/__init__.py @@ -42,8 +42,6 @@ WithModel, YieldModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py index 574911a8986..db95b2b44b7 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-array/typetest/array/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore InnerModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py index 574911a8986..db95b2b44b7 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-dictionary/typetest/dictionary/models/__init__.py @@ -10,8 +10,6 @@ from ._models import ( # type: ignore InnerModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py index 22e37f8b893..ffc720b61f5 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-extensible/typetest/enum/extensible/models/__init__.py @@ -7,8 +7,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore DaysOfWeekExtensibleEnum, ) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py index 5012c744777..00eb73e2f68 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-enum-fixed/typetest/enum/fixed/models/__init__.py @@ -7,8 +7,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore DaysOfWeekEnum, ) diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py index 75969dee9af..08c8ada02ff 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-empty/typetest/model/empty/models/__init__.py @@ -12,8 +12,6 @@ EmptyInputOutput, EmptyOutput, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py index f5bbbf7095f..3b7819f743c 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-nesteddiscriminator/typetest/model/nesteddiscriminator/models/__init__.py @@ -14,8 +14,6 @@ SawShark, Shark, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py index 4996f444b02..68ab5405c20 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-notdiscriminated/typetest/model/notdiscriminated/models/__init__.py @@ -12,8 +12,6 @@ Pet, Siamese, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py index 15687aa1c8a..c72412ad27f 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-recursive/typetest/model/recursive/models/__init__.py @@ -11,8 +11,6 @@ Element, Extension, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py index 61b383bfd35..04145d22215 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-singlediscriminator/typetest/model/singlediscriminator/models/__init__.py @@ -16,8 +16,6 @@ Sparrow, TRex, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py index 4e5a83e4269..d95bed72abd 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-usage/typetest/model/usage/models/__init__.py @@ -12,8 +12,6 @@ InputRecord, OutputRecord, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py index 8f4ddc28e63..d9c235fbae0 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-model-visibility/typetest/model/visibility/models/__init__.py @@ -11,8 +11,6 @@ ReadOnlyModel, VisibilityModel, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py index a37696a9519..f24aca31668 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-additionalproperties/typetest/property/additionalproperties/models/__init__.py @@ -46,8 +46,6 @@ WidgetData1, WidgetData2, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py index 0a18d76075b..68fc8f8e27b 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-nullable/typetest/property/nullable/models/__init__.py @@ -17,8 +17,6 @@ InnerModel, StringProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py index 612b51f182b..44f3bb9ac8a 100644 --- a/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/typetest-property-optional/typetest/property/optional/models/__init__.py @@ -25,8 +25,6 @@ UnionIntLiteralProperty, UnionStringLiteralProperty, ) - -from . import _enums from ._patch import __all__ as _patch_all from ._patch import * from ._patch import patch_sdk as _patch_sdk diff --git a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py index 4a22e11b219..f8b97f7eed8 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-returntypechangedfrom/versioning/returntypechangedfrom/models/__init__.py @@ -7,8 +7,6 @@ from ._patch import * # pylint: disable=unused-wildcard-import -from . import _models - from ._enums import ( # type: ignore Versions, ) From 4e5e1b6c97f7093f6066da53594b192665d619e2 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 11 Sep 2025 16:34:05 -0400 Subject: [PATCH 6/6] add changes --- ...ai-msft-python-internalOnlyModels-2025-8-11-16-34-0.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .chronus/changes/auto-iscai-msft-python-internalOnlyModels-2025-8-11-16-34-0.md diff --git a/.chronus/changes/auto-iscai-msft-python-internalOnlyModels-2025-8-11-16-34-0.md b/.chronus/changes/auto-iscai-msft-python-internalOnlyModels-2025-8-11-16-34-0.md new file mode 100644 index 00000000000..968611c8ec1 --- /dev/null +++ b/.chronus/changes/auto-iscai-msft-python-internalOnlyModels-2025-8-11-16-34-0.md @@ -0,0 +1,8 @@ +--- +changeKind: dependencies +packages: + - "@autorest/python" + - "@azure-tools/typespec-python" +--- + +Bump dep on tcgc to get fix for internal-only models \ No newline at end of file