@property
    def paginated_data(self):
        start = (self.page - 1) * self.limit
        end = self.page * self.limit
        return self.query.all()[start:end]
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/accounting/async_handlers.py/BaseSingleOptionFilterAsyncHandler.paginated_data/original