class EventRawSampleManager(Task): """ Manage factories to handle creation of new samples. """ def __init__(self): self.factory = SampleFactory() def run(self, *args, **kwargs): self.factory.new_sample(*args, **kwargs)
def __init__(self): self.factory = SampleFactory()