Hello. I'm writing a schema and I need to understand how to make a list using Python Eve and cerberus . I am currently writing how the documentation teaches me:
'datasources': {'type': 'list', 'schema':{'type':'string'}}
But when I try to send a POST with a list for this parameter I keep getting
"datasources": "must be of list type"
.
I've tried uploading in the following ways:
'teste1,teste2'
,
[teste1,teste2]
,
['teste1','teste2'],
'[teste1,teste2]'
. But none of these are accepted. Not even using the example given in the cerberus link I can send a list. Any idea why? Thanks