def __next__(self, full=False):
        if self.max_items is not None:
            if self.count >= self.max_items:
                raise StopIteration
        try:
            item = six.next(self._iter)
            self.count += 1
            if 'timestamp' in item:
                item['timestamp'] = parse_timestamp(item['timestamp'])
            if full:
                return item

            if type(self.return_values) is tuple:
                return tuple((item[i] for i in self.return_values))
            elif self.return_values is None:
                return item
            else:
                return item[self.return_values]

        except __HOLE__:
            if self.last:
                raise StopIteration
            self.load_chunk()
            return List.__next__(self, full=full)
dataset/ETHPy150Open mwclient/mwclient/mwclient/listing.py/List.__next__