This commit is contained in:
parent
eb7f6498ab
commit
ba69b9c2b1
@ -126,13 +126,13 @@ class SampleResource(Resource):
|
|||||||
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