-
Notifications
You must be signed in to change notification settings - Fork 72
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
marshmallow-jsonschema is not compatible with marshmallow.fields.Enum
added in marshmallow v3.18.0
#169
Comments
hf-kklein
added a commit
to hf-kklein/marshmallow-jsonschema
that referenced
this issue
Oct 9, 2022
to reproduce the issue fuhrysteve#169 improve test setup
hf-kklein
added a commit
to hf-kklein/marshmallow-jsonschema
that referenced
this issue
Oct 9, 2022
This fixes fuhrysteve#169. Detailed changes: * Introduce distinction between Enums imports from `marshmallow_enum` and `marshmallow.fields` (the latter are refered to as "marshmallow native" Enums * Add function to find out if the version of marshmallow used supports the native Enum type * Add test cases that reproduce the issue * Adapt the code to also support the native enums
hf-kklein
added a commit
to hf-kklein/marshmallow-jsonschema
that referenced
this issue
Oct 9, 2022
This fixes fuhrysteve#169. Detailed changes: * Introduce distinction between Enums imports from `marshmallow_enum` and `marshmallow.fields` (the latter are refered to as "marshmallow native" Enums) * Add function to find out if the version of marshmallow used supports the native Enum type * Add test cases that reproduce the issue * Adapt the code to also support the native enums
I opened a PR that fixes this issue: #170 |
hf-kklein
added a commit
to hf-kklein/marshmallow-jsonschema
that referenced
this issue
Oct 9, 2022
This fixes fuhrysteve#169. Detailed changes: * Introduce distinction between Enums imports from `marshmallow_enum` and `marshmallow.fields` (the latter are refered to as "marshmallow native" Enums) * Add function to find out if the version of marshmallow used supports the native Enum type * Add test cases that reproduce the issue * Adapt the code to also support the native enums
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See changelog: https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst#3180-2022-09-15
The text was updated successfully, but these errors were encountered: