Skip to content

Commit 30f04c6

Browse files
author
Joel Collins
committed
Added docstring to Task view class
1 parent cdc8446 commit 30f04c6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

labthings/server/views/tasks.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ def get(self):
1717

1818
@Tag(["properties", "tasks"])
1919
class TaskView(View):
20+
"""
21+
Manage a particular background task.
22+
23+
GET will safely return the current task progress.
24+
DELETE will terminate the background task, if running.
25+
"""
26+
2027
@marshal_with(TaskSchema())
2128
def get(self, task_id):
2229
"""

0 commit comments

Comments
 (0)