This commit is contained in:
parent
5e29de0c44
commit
b22236ece3
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user