Skip to content

Commit 52a5116

Browse files
committed
Added input and output to default Action schema
1 parent 05b48ac commit 52a5116

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/labthings/server/schema.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ class ActionSchema(Schema):
8888
# TODO: Make a proper log schema
8989
log = fields.List(fields.Dict())
9090

91+
# Dump unformatted input and output
92+
# Function-level marshal_with will handle formatting
93+
output = fields.Field()
94+
input = fields.Field()
95+
9196
href = fields.String()
9297
links = fields.Dict()
9398

0 commit comments

Comments
 (0)