-
-
Notifications
You must be signed in to change notification settings - Fork 640
Closed
Description
I would like to specify fields that will use the default value if their value is None
(even if they are not missing), something similar to the following field declaration will match perfectly to my case:
fields.Pluck(MySchema, 'x', default={'x': 0}, take_default_on=[None])
Is there any way doing this without @post_dump
or overriding get_attribute
method?
Metadata
Metadata
Assignees
Labels
No labels