From 3ba874e786c0bfa308734dac36ba371ba96b4105 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Mon, 13 Jan 2020 16:32:37 +0000 Subject: [PATCH] Tagged "tasks" views --- openflexure_microscope/common/flask_labthings/views/tasks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/openflexure_microscope/common/flask_labthings/views/tasks.py b/openflexure_microscope/common/flask_labthings/views/tasks.py index d9475f65..06a136a7 100644 --- a/openflexure_microscope/common/flask_labthings/views/tasks.py +++ b/openflexure_microscope/common/flask_labthings/views/tasks.py @@ -8,6 +8,7 @@ from openflexure_microscope.common.labthings_core import tasks @ThingProperty +@Tag("tasks") class TaskList(Resource): @marshal_with(TaskSchema(many=True)) def get(self): @@ -17,7 +18,7 @@ class TaskList(Resource): return tasks.tasks() -@Tag("properties") +@Tag(["properties", "tasks"]) class TaskResource(Resource): @marshal_with(TaskSchema()) def get(self, id):