Renamed Resource to View, and allow custom root links
This commit is contained in:
parent
234ebc1cbb
commit
a329b9197b
18 changed files with 90 additions and 67 deletions
|
|
@ -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(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue