Charlie Bini04/21/2022, 4:28 PM
? Sort of like
but restrict it to only one or two types
johann04/21/2022, 4:55 PM
Charlie Bini04/21/2022, 5:08 PM
is close I think, but I'm not sure it's worth adding that much complexity--you'd have to specify the data type via an additional key. It looks like
only accepts one type for the scalar/non-scalar options.
but I don't think that's possible right?
Field([String, Int], is_required=False)