Skip to content

[python] derived model with constant discriminator #7713

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jun 25, 2025

Conversation

iscai-msft
Copy link
Member

No description provided.

Copy link
Contributor

github-actions bot commented Jun 23, 2025

All changed packages have been documented.

  • @typespec/http-client-python
Show changes

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

Allow discriminators in derived classes that are from a fixed enum class

@azure-sdk
Copy link
Collaborator

azure-sdk commented Jun 23, 2025

You can try these changes here

🛝 Playground 🌐 Website 🛝 VSCode Extension

@iscai-msft iscai-msft added this pull request to the merge queue Jun 25, 2025
Merged via the queue into microsoft:main with commit a5e4d31 Jun 25, 2025
36 checks passed
@iscai-msft iscai-msft deleted the python/discriminatorConstant branch June 25, 2025 16:19
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.

4 participants