Renamed Resource to View, and allow custom root links

This commit is contained in:
Joel Collins 2020-01-14 11:41:56 +00:00
parent 234ebc1cbb
commit a329b9197b
18 changed files with 90 additions and 67 deletions

View file

@ -19,7 +19,7 @@ from openflexure_microscope.common.flask_labthings import fields
from openflexure_microscope.devel import taskify, abort, update_task_progress
from openflexure_microscope.common.flask_labthings.resource import Resource
from openflexure_microscope.common.flask_labthings.view import View
import time
@ -341,7 +341,7 @@ def stack(
@ThingAction
class TileScanAPI(Resource):
class TileScanAPI(View):
@use_args(
{
"filename": fields.String(),