using marshmallow how can I build and schema that accepts list of string, boolean and numbers
Something like this?
meta = fields.List(fields.Str() or fields.Bool())
example data
[ "a", "b", true, 1, false]
using marshmallow how can I build and schema that accepts list of string, boolean and numbers
Something like this?
meta = fields.List(fields.Str() or fields.Bool())
example data
[ "a", "b", true, 1, false]