Moved to a LabThings dependency for server

This commit is contained in:
jtc42 2020-01-17 15:13:32 +00:00
parent a1223d8b28
commit 36334ed743
65 changed files with 546 additions and 2364 deletions

View file

@ -8,15 +8,13 @@ as well as some Flask imports to simplify API route development
from openflexure_microscope.api.utilities import JsonResponse
# Task management
from openflexure_microscope.common.labthings_core.tasks import (
from labthings.core.tasks import (
current_task,
update_task_progress,
update_task_data,
taskify,
)
# Exceptions
from openflexure_microscope.exceptions import TaskDeniedException
# Flask things
from flask import abort, escape, jsonify, Response, request