ewoksdata.data.contextiterator.contextiterator#

ewoksdata.data.contextiterator.contextiterator(iterator)[source]#

Decorator that allows to use an iterator or generator as a context manager. This ensures that the iterator is closed when exiting the context manager.