@cached_property
    def pagination(self):
        if not self.supports_pagination:
            raise AttributeError()
        return self.datamodel.pagination_config.get_pagination_controller(self)
Returns the pagination controller for the record.
dataset/ETHPy150Open lektor/lektor/lektor/db.py/Record.pagination