def fill_cache(self, n=None):
        n = n or float('Inf')
        if n < 0:
            raise ValueError('Negative values are not supported.')
        self._idx = self._ct
        while not self._populated and (n > self._ct):
            try:
                next(self)
            except __HOLE__:
                break
dataset/ETHPy150Open coleifer/peewee/peewee.py/QueryResultWrapper.fill_cache