This commit is contained in:
@ -5,6 +5,8 @@ from flask import request
|
||||
from flask_restful import Resource, reqparse
|
||||
from werkzeug.datastructures import FileStorage
|
||||
import filetype
|
||||
import db
|
||||
from models import SampleMetadata
|
||||
from schemas import *
|
||||
|
||||
"""
|
||||
@ -54,3 +56,6 @@ class SampleResource(Resource):
|
||||
"Input JSON did not conform to schema. It was: {}", desc)
|
||||
return {'status': 'error',
|
||||
'message': 'Input JSON schema invalid'}, 417
|
||||
# TODO: Preserve input data in relational DB
|
||||
# TODO: Pass data and tag to ObjectStorage
|
||||
# TODO: Pass tag to MQ
|
||||
|
Reference in New Issue
Block a user