Users schema: don't supply schema when allow_known=True
Apparently the new Cerberus doesn't like this, and will check against the schema only and ignore `allow_unknown` when it's there.
This commit is contained in:
parent
a58e616769
commit
d655d2b749
@ -121,12 +121,6 @@ users_schema = {
|
|||||||
'service': {
|
'service': {
|
||||||
'type': 'dict',
|
'type': 'dict',
|
||||||
'allow_unknown': True,
|
'allow_unknown': True,
|
||||||
'schema': {
|
|
||||||
'badger': {
|
|
||||||
'type': 'list',
|
|
||||||
'schema': {'type': 'string'}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
|
|
||||||
# Properties defined by extensions. Extensions should use their name (see the
|
# Properties defined by extensions. Extensions should use their name (see the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user