Converted to use new convenience imports
This commit is contained in:
parent
317afeb76a
commit
90e8bd6558
7 changed files with 8 additions and 19 deletions
|
|
@ -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):
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue