Skip to content

Conversation

@msyyc
Copy link
Contributor

@msyyc msyyc commented Nov 17, 2025

We don't have complete design for discriminated union, so this PR is to only make sure the generated code could work and have no lint issue.

@microsoft-github-policy-service microsoft-github-policy-service bot added the emitter:client:python Issue for the Python client emitter: @typespec/http-client-python label Nov 17, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Nov 17, 2025

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

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

Fix import when body parameter is union of models

@azure-sdk
Copy link
Collaborator

azure-sdk commented Nov 17, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@pkg-pr-new
Copy link

pkg-pr-new bot commented Nov 18, 2025

Open in StackBlitz

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

commit: 7a776a0

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.

3 participants