How do I use the cerberus set data type?

4 views
Skip to first unread message

val.m...@symbiont.io

unread,
Oct 26, 2018, 10:38:44 AM10/26/18
to Eve REST Framework
The subject says it all. I couldn't find any documentation for the sets, so this is what I tried and didn't work:

{
'field': {
'type': 'set',
'schema': {
'type':'string',
'allowed':['aa', 'bb', 'cc']
}
}
}

Your help would be appreciated.

Thank you!
Val

Reply all
Reply to author
Forward
0 new messages