Updated tasks nomenclature
This commit is contained in:
parent
56051f8863
commit
24398ba7dc
27 changed files with 100 additions and 136 deletions
|
|
@ -4,9 +4,9 @@ Top-level representation of enabled actions
|
|||
from flask import url_for
|
||||
from . import camera, stage, system
|
||||
|
||||
from labthings.server.view import View
|
||||
from labthings.server.find import current_labthing
|
||||
from labthings.server.utilities import description_from_view
|
||||
from labthings import current_labthing
|
||||
from labthings.views import View
|
||||
from labthings.utilities import description_from_view
|
||||
|
||||
_actions = {
|
||||
"capture": {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
from openflexure_microscope.api.utilities import get_bool, JsonResponse
|
||||
from labthings.server.view import View, ActionView
|
||||
from labthings.server.find import find_component
|
||||
from labthings.views import View, ActionView
|
||||
from labthings import find_component, fields
|
||||
|
||||
from labthings.server import fields
|
||||
from openflexure_microscope.utilities import filter_dict
|
||||
|
||||
from openflexure_microscope.api.v2.views.captures import CaptureSchema
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
from openflexure_microscope.api.utilities import JsonResponse
|
||||
from labthings.server.view import View, ActionView
|
||||
from labthings.server.find import find_component
|
||||
from labthings.server import fields
|
||||
from labthings.views import View, ActionView
|
||||
from labthings import find_component, fields
|
||||
|
||||
from openflexure_microscope.utilities import axes_to_array, filter_dict
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
from labthings.server.view import View, ActionView
|
||||
from labthings.views import View, ActionView
|
||||
import subprocess
|
||||
import os
|
||||
from sys import platform
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
from openflexure_microscope.api.utilities import JsonResponse
|
||||
|
||||
from labthings.core.utilities import get_by_path, set_by_path, create_from_path
|
||||
|
||||
from labthings.server.find import find_component
|
||||
from labthings.server.view import View, PropertyView
|
||||
from labthings import find_component
|
||||
from labthings.views import View, PropertyView
|
||||
from labthings.utilities import get_by_path, set_by_path, create_from_path
|
||||
|
||||
from flask import request, abort
|
||||
import logging
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
from openflexure_microscope.api.utilities import gen, JsonResponse
|
||||
|
||||
from labthings.core.utilities import get_by_path, set_by_path, create_from_path
|
||||
from labthings import find_component
|
||||
from labthings.utilities import get_by_path, set_by_path, create_from_path
|
||||
from labthings.views import View, PropertyView
|
||||
|
||||
from labthings.server.find import find_component
|
||||
from labthings.server.view import View, PropertyView
|
||||
from labthings.server.responses import Response
|
||||
from flask import Response
|
||||
|
||||
|
||||
class MjpegStream(PropertyView):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue