device id should be integer
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
3563234d70
commit
c78d987c72
@ -21,11 +21,11 @@ class SampleSchema(ma.Schema):
|
|||||||
"""
|
"""
|
||||||
Parameters:
|
Parameters:
|
||||||
- date (date)
|
- date (date)
|
||||||
- device_id (str)
|
- device_id (int)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
date = fields.DateTime(required=True)
|
date = fields.DateTime(required=True)
|
||||||
device_id = fields.Str(required=True)
|
device_id = fields.Integer(required=True)
|
||||||
|
|
||||||
|
|
||||||
class SampleMetadataSchema(ma.SQLAlchemyAutoSchema):
|
class SampleMetadataSchema(ma.SQLAlchemyAutoSchema):
|
||||||
|
Loading…
Reference in New Issue
Block a user