Skip to content

Commit 3020d31

Browse files
committed
Specified marshal_methods
1 parent 4641e66 commit 3020d31

File tree

1 file changed

+2
-0
lines changed
  • src/labthings/server/default_views

1 file changed

+2
-0
lines changed

src/labthings/server/default_views/tasks.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ class TaskView(View):
2626
tags = ["tasks"]
2727
schema = TaskSchema()
2828

29+
marshal_methods = ("GET", "DELETE")
30+
2931
def get(self, task_id):
3032
"""
3133
Show status of a session task

0 commit comments

Comments
 (0)