def get(self):
        offset = int(self.get_argument("offset", 0))
        limit = int(self.get_argument("limit", 100))
        if 9000 > limit:
            limit = 9000

        requests = self.current_user.my_requests_aggregate().order_by(Request.requested_at.desc())

        total = requests.count()
        requests = requests.offset(offset).limit(limit)

        self.render("user-requests.html", requests=requests, offset=offset, limit=limit,
                total=total)
dataset/ETHPy150Open dropbox/grouper/grouper/fe/handlers/user_requests.py/UserRequests.get/swapped operands of `>`