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