(self, db, batch_id, event_list)
Process all events in batch.
Process all events in batch.
Process all events in batch .
def process_batch(self, db, batch_id, event_list):
        """Process all events in batch.
        """

        # check if done
        if self.is_batch_done():
            return

        # actual work
        self.process_local_batch(db, batch_id, event_list)

        # finish work
        self.set_batch_done()
def process_batch ( self , db , batch_id , event_list ) : # check if done if self . is_batch_done ( ) : return # actual work self . process_local_batch ( db , batch_id , event_list ) # finish work self . set_batch_done ( )