Skip to content

[Python] Fix multipart when files part is optional - #9144

Merged
Yuchao Yan (msyyc) merged 6 commits into
mainfrom
python-multipart-fix-optional-files-part
Dec 8, 2025
Merged

Yuchao Yan (msyyc) merged 6 commits into
mainfrom
python-multipart-fix-optional-files-part

Conversation

@msyyc

Copy link
Copy Markdown
Contributor

@pkg-pr-new

pkg-pr-new Bot commented Dec 5, 2025 •

Copy link
Copy Markdown

Open in StackBlitz

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

commit: 6680303

@github-actions

github-actions Bot commented Dec 5, 2025 •

Copy link
Copy Markdown
Contributor

All changed packages have been documented.

  • ✅ @typespec/http-client-python
Show changes

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

Fix multipart when files part is optional

@azure-sdk

Azure SDK Bot (azure-sdk) commented Dec 5, 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 Dec 5, 2025
@msyyc
Yuchao Yan (msyyc) added this pull request to the merge queue Dec 8, 2025
Merged via the queue into main with commit 27036b8 Dec 8, 2025
38 checks passed
@msyyc
Yuchao Yan (msyyc) deleted the python-multipart-fix-optional-files-part branch December 8, 2025 08:08
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.

[Python][Bug] Serialization error when http body doesn't contain file while content types is "multipart/form-data"

3 participants