fix get
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2020-10-21 02:01:45 +02:00
parent 5e29de0c44
commit b22236ece3
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -100,14 +100,13 @@ class SampleResource(Resource):
db.session.commit() db.session.commit()
return {"tag": generated_tag}, 200 return {"tag": generated_tag}, 200
def get(self):
def get(self): """
""" Get all stored items
Get all stored items :return:
:return: """
""" samples = SampleMetadata.query.all()
samples = SampleMetadata.query.all() return self.samplemetadataschema.dump(list(samples)), 200
return self.samplemetadataschema.dump(list(samples)), 200
class SampleParameterResource(Resource): class SampleParameterResource(Resource):