def get(self): return {'stores': StoreModel.find_all_stores() } pass
def get(cls): """Return a list of all stores""" return {"stores": [x.json() for x in StoreModel.find_all_stores()]}