Skip to content
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

Fix json_encoders for Enum subclasses #7029

Merged
merged 1 commit into from Aug 8, 2023
Merged

Conversation

adriangb
Copy link
Member

@adriangb adriangb commented Aug 7, 2023

Fixes #6989

Selected Reviewer: @hramezani

@adriangb
Copy link
Member Author

adriangb commented Aug 7, 2023

please review

@cloudflare-pages
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7fbfb11
Status: ✅  Deploy successful!
Preview URL: https://300ff59c.pydantic-docs2.pages.dev
Branch Preview URL: https://fix-enum-json-encoders.pydantic-docs2.pages.dev

View logs

@adriangb adriangb merged commit 2efd665 into main Aug 8, 2023
49 checks passed
@adriangb adriangb deleted the fix-enum-json-encoders branch August 8, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

json_encoders not respected for enum.Enum in V2
2 participants