Skip to content

When coerce is false, to_python does not convert to the Enum's primitive type #39

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

Closed
bckohan opened this issue Apr 16, 2023 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@bckohan
Copy link
Member

bckohan commented Apr 16, 2023

This is a bug on EnumField. When coercion is disabled to_python should still attempt to convert the given value to the field's primitive type.

@bckohan bckohan added the bug Something isn't working label Apr 16, 2023
@bckohan bckohan self-assigned this Apr 16, 2023
bckohan added a commit that referenced this issue Apr 16, 2023
@bckohan bckohan added this to the Version 2.0 milestone May 1, 2023
@bckohan bckohan closed this as completed Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant