gigl.utils.iterator#

Attributes#

Classes#

InfiniteIterator

A wrapper around iterators (objects with __iter__ and __next__ methods) that loop indefinitely over the data.

Module Contents#

class gigl.utils.iterator.InfiniteIterator(iterable)[source]#

Bases: collections.abc.Iterator[_T]

A wrapper around iterators (objects with __iter__ and __next__ methods) that loop indefinitely over the data.

Parameters:

iterable (collections.abc.Iterable[_T])

gigl.utils.iterator.logger[source]#