mirror of
https://github.com/enpaul/keyosk.git
synced 2024-11-25 07:57:24 +00:00
!fixup account serializer
This commit is contained in:
parent
ac893d9707
commit
f7d93bd68c
@ -15,7 +15,7 @@ class AccountSerializer(msh.Schema):
|
|||||||
enabled = msh.fields.Boolean(required=True)
|
enabled = msh.fields.Boolean(required=True)
|
||||||
extras = msh.fields.Dict(
|
extras = msh.fields.Dict(
|
||||||
keys=msh.fields.String(),
|
keys=msh.fields.String(),
|
||||||
values=custom_fields.RawMultiType([int, float, bool, str, None]),
|
values=custom_fields.RawMultiType([int, float, bool, str], allow_none=True),
|
||||||
required=True,
|
required=True,
|
||||||
)
|
)
|
||||||
acls = msh.fields.List(msh.fields.Nested(AccountACLSerializer), required=True)
|
acls = msh.fields.List(msh.fields.Nested(AccountACLSerializer), required=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user