Source code for drugex.parallel.collectors
"""
collectors
Created by: Martin Sicho
On: 14.07.22, 10:58
"""
from drugex.parallel.interfaces import ListCollector
[docs]class ListExtend(ListCollector):
def __init__(self):
self.items = []
def __call__(self, result):
self.items.extend(result)