You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have prepared one simple version just to get a feedback if you like it and can be part of marshmallow.
Essentially DynamicField accepts a dynamic lambda that returns the field based on data and/or context. And then it delegates _deserialize and _serialize to that field.
I would like to have dynamic field that resolves its type based on data. One way is to create schema from dict.
Example (data based on section value):
or
I have prepared one simple version just to get a feedback if you like it and can be part of marshmallow.
Essentially DynamicField accepts a dynamic lambda that returns the field based on data and/or context. And then it delegates _deserialize and _serialize to that field.
The text was updated successfully, but these errors were encountered: