Пример #1
0
 def get(self):
     return {'users': [user.json() for user in UserModel.find_all()]}
Пример #2
0
 def get(self):
     return {"payload": [user.json() for user in UserModel.find_all()]}