- class showerpipe.base.GeneratorAdapter(abc.ABC, collections.abc.Sized, Iterator[showerpipe.base.EventAdapter])[source]
Adapter pattern interface for data generators.
Public members¶
- classmethod __subclasshook__(C)[source]
Abstract classes can override this to customize issubclass().
- abstract __next__()[source]
Return the next item from the iterator. When exhausted, raise StopIteration
-
GeneratorAdapter =
<bound method GenericAlias of <class 'collections.abc.Iterable'>>[source]
- classmethod __init_subclass__(*args, **kwargs)[source]
This method is called when a class is subclassed.
Last update:
Jun 27, 2025