Skip to content

[python] support external type - #8767

Merged
Yuchao Yan (msyyc) merged 13 commits into
mainfrom
external-type-python
Dec 2, 2025
Merged

[python] support external type#8767
Yuchao Yan (msyyc) merged 13 commits into
mainfrom
external-type-python

Conversation

@msyyc

@msyyc Yuchao Yan (msyyc) commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

@github-actions

github-actions Bot commented Oct 20, 2025

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

@typespec/http-client-python - feature ✏️

Support SDK users defined customized serialization/deserialization function for external models

@azure-sdk

Azure SDK Bot (azure-sdk) commented Oct 20, 2025

Copy link
Copy Markdown
Collaborator

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@msyyc Yuchao Yan (msyyc) added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Oct 21, 2025
@msyyc Yuchao Yan (msyyc) changed the title [support] support external type [python] support external type Oct 21, 2025
@pkg-pr-new

pkg-pr-new Bot commented Nov 17, 2025

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/microsoft/typespec/@typespec/http@8767
npm i https://pkg.pr.new/microsoft/typespec/@typespec/http-client@8767

commit: d197fc6

@tadelesh Chenjie Shi (tadelesh) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It seems test generation is not coverred?

Comment thread packages/http-client-python/generator/pygen/codegen/models/primitive_types.py Outdated
@msyyc

Copy link
Copy Markdown
Contributor Author

It seems test generation is not coverred?

Azure/autorest.python#3246 (comment)

@msyyc
Yuchao Yan (msyyc) added this pull request to the merge queue Dec 2, 2025
Merged via the queue into main with commit 58dfc62 Dec 2, 2025
38 checks passed
@msyyc
Yuchao Yan (msyyc) deleted the external-type-python branch December 2, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

emitter:client:python Issue for the Python client emitter: @typespec/http-client-python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Python] support @alternateType for external type

4 participants