Skip to content

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

Draft
msyyc wants to merge 1 commit into
typespec-python-generated-testsfrom
regen/typespec-python-pr-11161
Draft

[typespec-python] Regenerate tests from microsoft/typespec PR #11161 (DO NOT MERGE)#47827
msyyc wants to merge 1 commit into
typespec-python-generated-testsfrom
regen/typespec-python-pr-11161

Conversation

@msyyc

@msyyc msyyc commented Jul 3, 2026

Copy link
Copy Markdown
Member

NOTE: This PR exists only to display the code diff. Please do not merge it.

Fixes #47826

Source: microsoft/typespec#11161

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

This PR was auto-generated. Re-run the workflow to update it after new commits are pushed to the upstream TypeSpec PR

@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-11161 branch from 6615b32 to 5ea2512 Compare July 3, 2026 04:53
@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-11161 branch 2 times, most recently from 0a6a269 to 5379a74 Compare July 3, 2026 05:57
@github-actions github-actions Bot force-pushed the regen/typespec-python-pr-11161 branch from 5379a74 to c051cf9 Compare July 3, 2026 07:39
import geojson


class Geometry(TypedDict, total=False):

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.

These deleted class in types.py are not referred by any model or operation so they should be deleted.


@overload
def send(self, body: _types.SendRequest1, *, content_type: str = "application/json", **kwargs: Any) -> None:
def send(self, body: _types.SendRequest, *, content_type: str = "application/json", **kwargs: Any) -> None:

@msyyc msyyc Jul 3, 2026

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.

SendRequest1 are referred by many operations which are actually not right since the body of those operations actually refer to different types.
New change includes new SendRequest2/3/.../9 and those new class are referred by related operations which is expected.

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