add: agent template
This commit is contained in:
9
agent/src/schema/aggregated_data_schema.py
Normal file
9
agent/src/schema/aggregated_data_schema.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from marshmallow import Schema, fields
|
||||
from schema.accelerometer_schema import AccelerometerSchema
|
||||
from schema.gps_schema import GpsSchema
|
||||
|
||||
|
||||
class AggregatedDataSchema(Schema):
|
||||
accelerometer = fields.Nested(AccelerometerSchema)
|
||||
gps = fields.Nested(GpsSchema)
|
||||
time = fields.DateTime("iso")
|
||||
Reference in New Issue
Block a user