

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(n)
        except StopIteration:
            break

dataset/ETHPy150Open coleifer/peewee/peewee.py QueryResultWrapper.fill_cache/VarMisuse@75/98 `self`->`n`