Exemple #1
0
 def get(self):
     args = page_parser.parse_args()
     results = models.User.query.paginate(args['page']).items
     return results or not_found()
Exemple #2
0
 def get(self, id):
     result = models.User.query.get(id)
     return result or not_found()