add session schema
This commit is contained in:
parent
9c489c7564
commit
bae5a1d2b1
|
@ -9,6 +9,10 @@ from ereuse_devicehub.resources.inventory.schema import Inventory
|
||||||
from ereuse_devicehub.resources.schemas import Thing
|
from ereuse_devicehub.resources.schemas import Thing
|
||||||
|
|
||||||
|
|
||||||
|
class Session(Thing):
|
||||||
|
token = String(dump_only=True)
|
||||||
|
|
||||||
|
|
||||||
class User(Thing):
|
class User(Thing):
|
||||||
id = UUID(dump_only=True)
|
id = UUID(dump_only=True)
|
||||||
email = Email(required=True)
|
email = Email(required=True)
|
||||||
|
|
Reference in New Issue