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
The enums in my example are all strings, but I guess they're supposed to be lists? If the enum constraint is specified for an "array" field like in the above example, is the expectation that the arrays for that field are in the enum or that the elements of the array are in the enum (I was assuming the second)?
Sample schema.json:
{
"fields": [
{
"name": "field_name",
"type": "array",
"constraints": {
"enum": [
"option1",
"option2",
"option3"
]
}
}
]
}
Some exception is being raised though:
my_schema = Schema("schema.json")
my_schema.fields[0]
The text was updated successfully, but these errors were encountered: