[typespec-python] Regenerate tests from microsoft/typespec@main#46886
Merged
Conversation
ea45651 to
b3544e6
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the checked-in TypeSpec Python “generated tests” and related generated client artifacts under eng/tools/emitter/gen/ to match the current output of microsoft/typespec@main. It adds new generated scenarios for special-words/reservedoperationbodyparams and payload-head across both azure-branded and unbranded generations, including sync/async clients, operation groups, packaging metadata, and generated test stubs.
Changes:
- Add generated
reservedoperationbodyparamsoperation-group code (sync + async) for thespecial-wordsscenario (unbranded) and corresponding generated tests (azure-branded). - Add a new generated
payload-headtest package (azure-branded + unbranded) including clients, ops mixins, configuration, utilities, and packaging files. - Add “TEST CODE — DO NOT INSTALL FROM PYPI” README stubs for new generated packages/templates.
Reviewed changes
Copilot reviewed 69 out of 70 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_patch.py | Adds customization hook stub for reserved-operation body params operations (sync). |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/_operations.py | Adds generated sync operation group for reserved-operation body params. |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/operations/init.py | Exposes sync operation group and applies patch hook. |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_patch.py | Adds customization hook stub for reserved-operation body params operations (async). |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/_operations.py | Adds generated async operation group for reserved-operation body params. |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/operations/init.py | Exposes async operation group and applies patch hook. |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/aio/init.py | Marks async subpackage as a namespace package for generated layout. |
| eng/tools/emitter/gen/unbranded/special-words/specialwords/reservedoperationbodyparams/init.py | Marks subpackage as a namespace package for generated layout. |
| eng/tools/emitter/gen/unbranded/payload-head/README.md | Adds “test code” README for unbranded payload-head package. |
| eng/tools/emitter/gen/unbranded/payload-head/pyproject.toml | Adds packaging metadata for unbranded payload-head generated package. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/py.typed | Adds PEP 561 marker for unbranded payload-head package typing. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_patch.py | Adds async customization hook stub for unbranded payload-head client. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_operations/_patch.py | Adds async operations customization hook stub (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_operations/_operations.py | Adds generated async operations mixin for unbranded payload-head. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_operations/init.py | Exposes async ops mixin and applies patch hook (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_configuration.py | Adds async configuration for unbranded payload-head client. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/_client.py | Adds generated async client for unbranded payload-head. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/aio/init.py | Exposes async client for unbranded payload-head and applies patch hook. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_version.py | Adds version constant for unbranded payload-head. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_utils/utils.py | Adds internal typing helper mixin base (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_utils/model_base.py | Adds generated model/serialization utilities (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_utils/init.py | Adds utils package marker (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_patch.py | Adds sync customization hook stub for unbranded payload-head client. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_operations/_patch.py | Adds sync operations customization hook stub (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_operations/_operations.py | Adds generated sync operations mixin for unbranded payload-head. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_operations/init.py | Exposes sync ops mixin and applies patch hook (unbranded payload-head). |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_configuration.py | Adds sync configuration for unbranded payload-head client. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/_client.py | Adds generated sync client for unbranded payload-head. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/head/init.py | Exposes sync client + version for unbranded payload-head and applies patch hook. |
| eng/tools/emitter/gen/unbranded/payload-head/payload/init.py | Marks payload as a namespace package (unbranded). |
| eng/tools/emitter/gen/unbranded/payload-head/MANIFEST.in | Adds sdist manifest entries for unbranded payload-head package. |
| eng/tools/emitter/gen/unbranded/payload-head/CHANGELOG.md | Adds initial changelog for unbranded payload-head package. |
| eng/tools/emitter/gen/template/README.md | Adds “test code” README for the generator template directory. |
| eng/tools/emitter/gen/azure/special-words/generated_tests/test_special_words_reserved_operation_body_params_operations.py | Adds generated sync test stub for reserved-operation body params. |
| eng/tools/emitter/gen/azure/special-words/generated_tests/test_special_words_reserved_operation_body_params_operations_async.py | Adds generated async test stub for reserved-operation body params. |
| eng/tools/emitter/gen/azure/payload-head/README.md | Adds “test code” README for azure-branded payload-head package. |
| eng/tools/emitter/gen/azure/payload-head/pyproject.toml | Adds packaging metadata for azure-branded payload-head generated package. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/py.typed | Adds PEP 561 marker for azure-branded payload-head package typing. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_patch.py | Adds async customization hook stub for azure-branded payload-head client. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_operations/_patch.py | Adds async operations customization hook stub (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_operations/_operations.py | Adds generated async operations mixin for azure-branded payload-head. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_operations/init.py | Exposes async ops mixin and applies patch hook (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_configuration.py | Adds async configuration for azure-branded payload-head client. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/_client.py | Adds generated async client for azure-branded payload-head. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/aio/init.py | Exposes async client for azure payload-head and applies patch hook. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_version.py | Adds version constant for azure-branded payload-head. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_utils/utils.py | Adds internal typing helper mixin base (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_utils/model_base.py | Adds generated model/serialization utilities (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_utils/init.py | Adds generated utils package marker/header (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_patch.py | Adds sync customization hook stub for azure payload-head client. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_operations/_patch.py | Adds sync operations customization hook stub (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_operations/_operations.py | Adds generated sync operations mixin for azure-branded payload-head. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_operations/init.py | Exposes sync ops mixin and applies patch hook (azure payload-head). |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_configuration.py | Adds sync configuration for azure-branded payload-head client. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/_client.py | Adds generated sync client for azure-branded payload-head. |
| eng/tools/emitter/gen/azure/payload-head/payload/head/init.py | Exposes sync client + version for azure payload-head and applies patch hook. |
| eng/tools/emitter/gen/azure/payload-head/payload/init.py | Marks payload as a namespace package (azure-branded). |
| eng/tools/emitter/gen/azure/payload-head/MANIFEST.in | Adds sdist manifest entries for azure-branded payload-head package. |
| eng/tools/emitter/gen/azure/payload-head/LICENSE | Adds MIT license file for azure-branded payload-head generated package. |
| eng/tools/emitter/gen/azure/payload-head/generated_tests/testpreparer.py | Adds recorded-test preparer utilities for payload-head sync tests. |
| eng/tools/emitter/gen/azure/payload-head/generated_tests/testpreparer_async.py | Adds recorded-test preparer utilities for payload-head async tests. |
| eng/tools/emitter/gen/azure/payload-head/generated_tests/test_head.py | Adds generated sync test stub for payload-head scenario. |
| eng/tools/emitter/gen/azure/payload-head/generated_tests/test_head_async.py | Adds generated async test stub for payload-head scenario. |
| eng/tools/emitter/gen/azure/payload-head/generated_tests/conftest.py | Adds test-proxy sanitizers/fixtures for payload-head generated tests. |
| eng/tools/emitter/gen/azure/payload-head/dev_requirements.txt | Adds local dev/test requirements for payload-head generated package. |
| eng/tools/emitter/gen/azure/payload-head/CHANGELOG.md | Adds initial changelog for azure-branded payload-head package. |
| eng/tools/emitter/gen/azure/payload-head/apiview-properties.json | Adds APIView cross-language mapping metadata for payload-head. |
| eng/tools/emitter/gen/azure/payload-head/_metadata.json | Adds generator metadata placeholder for payload-head. |
b3544e6 to
5d95a8b
Compare
5d95a8b to
0e8e39e
Compare
ChenxiJiang333
approved these changes
May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Source: https://github.com/microsoft/typespec/tree/main
Automated regeneration of TypeSpec Python generated tests from microsoft/typespec@main.
This PR was auto-generated.