add orm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-03-25 02:54:59 +01:00
parent 7d7227aa47
commit 4d1de2a1f6
5 changed files with 51 additions and 1 deletions

View File

@ -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