def finalize(self):
        """finalize for ConsumerConsumer"""
        for c in self.consumers:
            c.finalize()
        self.result = [c.result for c in self.consumers]
def finalize ( self ) : for c in self . consumers : c . finalize ( ) self . result = [ c . result for c in self . consumers ]
finalize for ConsumerConsumer