def __init__(self, tempstore, segment, limitmb=128, **kwargs): SortingPool.__init__(self, **kwargs) self.tempstore = tempstore self.segment = segment self.limit = limitmb * 1024 * 1024 self.currentsize = 0 self.fieldnames = set()
def save(self): SortingPool.save(self) self.currentsize = 0