Skip to content

[typespec-python] Regenerate tests from microsoft/typespec PR #10439 (DO NOT MERGE)#47346

Draft
msyyc wants to merge 2 commits into
typespec-python-generated-testsfrom
regen/typespec-python-pr-10439
Draft

[typespec-python] Regenerate tests from microsoft/typespec PR #10439 (DO NOT MERGE)#47346
msyyc wants to merge 2 commits into
typespec-python-generated-testsfrom
regen/typespec-python-pr-10439

Conversation

@msyyc

@msyyc msyyc commented Jun 4, 2026

Copy link
Copy Markdown
Member

NOTE: This PR is just to show code diff and pls do not merge this PR

Fixes #47344

Source: microsoft/typespec#10439

Automated regeneration of TypeSpec Python generated tests from microsoft/typespec PR #10439.

This PR was auto-generated. You could click the workflow again to update the PR directly if you have new commit in your typespec PR

"""

error: Required[str]
"""Required."""

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The new file is not referred by any model/operation.

"""Base64urlArrayBytesProperty.

:ivar value: Required.
:vartype value: list[bytes]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

docstring is list[bytes] does not follow typing list[str].

"""Required."""
enumProp: Required[Union[str, "EnumV2"]]
"""Required. \"enumMember\""""
unionProp: Required["_unions.UnionV2"]

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Maybe we could generate code like unionProp: Required[Union[str, int]] so that there is no need to generate additional _unions.py?

@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-10439 branch from 8a10f33 to 0818c30 Compare June 23, 2026 21:04
@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-10439 branch from 0818c30 to de1d4e5 Compare June 24, 2026 17:45
Regenerated using latest emitter from python/addTypedDict branch with:
- TypedDict dedup fixes (crossLanguageDefinitionId-based)
- aio __init__.py no longer imports types
- typeddict copies excluded from _models.py

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant