Skip to content

[typespec-python] Regenerate tests from microsoft/typespec@main#46886

Merged
msyyc merged 1 commit into
mainfrom
auto/typespec-python-regenerate
May 15, 2026
Merged

[typespec-python] Regenerate tests from microsoft/typespec@main#46886
msyyc merged 1 commit into
mainfrom
auto/typespec-python-regenerate

Conversation

@msyyc
Copy link
Copy Markdown
Member

@msyyc msyyc commented May 14, 2026

Source: https://github.com/microsoft/typespec/tree/main

Automated regeneration of TypeSpec Python generated tests from microsoft/typespec@main.

This PR was auto-generated.

@github-actions github-actions Bot force-pushed the auto/typespec-python-regenerate branch from ea45651 to b3544e6 Compare May 14, 2026 07:54
@msyyc msyyc marked this pull request as ready for review May 14, 2026 07:59
Copilot AI review requested due to automatic review settings May 14, 2026 07:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 reservedoperationbodyparams operation-group code (sync + async) for the special-words scenario (unbranded) and corresponding generated tests (azure-branded).
  • Add a new generated payload-head test 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.

@github-actions github-actions Bot force-pushed the auto/typespec-python-regenerate branch from b3544e6 to 5d95a8b Compare May 14, 2026 08:46
@github-actions github-actions Bot force-pushed the auto/typespec-python-regenerate branch from 5d95a8b to 0e8e39e Compare May 15, 2026 03:27
@msyyc msyyc enabled auto-merge (squash) May 15, 2026 03:32
@msyyc msyyc merged commit f0af5f8 into main May 15, 2026
14 checks passed
@msyyc msyyc deleted the auto/typespec-python-regenerate branch May 15, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants