Converted to use new convenience imports

This commit is contained in:
Joel Collins 2019-06-24 14:40:07 +01:00
parent 317afeb76a
commit 90e8bd6558
7 changed files with 8 additions and 19 deletions

View file

@ -1,8 +1,5 @@
from openflexure_microscope.api.utilities import JsonPayload
from openflexure_microscope.api.v1.views import MicroscopeViewPlugin
from openflexure_microscope.exceptions import TaskDeniedException
from openflexure_microscope.devel import MicroscopeViewPlugin, TaskDeniedException, JsonPayload, Response, request, escape, jsonify
from flask import request, Response, escape, jsonify
import logging
class DoAPI(MicroscopeViewPlugin):

View file

@ -2,7 +2,7 @@ import random
import time
import os
import json
from openflexure_microscope.plugins import MicroscopePlugin
from openflexure_microscope.devel import MicroscopePlugin
from .api import DoAPI, TaskAPI