Moved API views up a level

This commit is contained in:
Joel Collins 2019-11-13 14:06:41 +00:00
parent e76dee2383
commit bb9bb77536
14 changed files with 15 additions and 16 deletions

View file

@ -1,5 +1,3 @@
from openflexure_microscope.api.v1.views import MicroscopeView
from flask import Blueprint
from . import capture, record, preview, function

View file

@ -1,8 +1,8 @@
from openflexure_microscope.api.utilities import get_bool, JsonResponse
from openflexure_microscope.api.v1.views import MicroscopeView
from openflexure_microscope.api.views import MicroscopeView
from openflexure_microscope.utilities import filter_dict
from flask import Response, jsonify, request, abort, url_for, redirect, send_file
from flask import jsonify, request, abort, url_for, redirect, send_file
class ListAPI(MicroscopeView):

View file

@ -1,4 +1,4 @@
from openflexure_microscope.api.v1.views import MicroscopeView
from openflexure_microscope.api.views import MicroscopeView
from openflexure_microscope.api.utilities import JsonResponse
from flask import jsonify, request

View file

@ -1,5 +1,5 @@
from openflexure_microscope.api.utilities import JsonResponse
from openflexure_microscope.api.v1.views import MicroscopeView
from openflexure_microscope.api.views import MicroscopeView
from flask import jsonify, request
import logging