def process_chunk(self, start, end, chunk):
        if self.clear_existing and self.chunk_delete:
            self.clear_past_results(start, end)
        self.call_command_verbose('db_refresh_mviews', **{'force': True,
            'start': start, 'end': end, 'clear-existing': False})
        self.call_command_verbose('db_update_agregates', **{'start': start,
            'end': end, 'clear-existing': False})
        return True
Called when chunk of data should be processed.
dataset/ETHPy150Open ipeirotis/Mturk-Tracker/app/mturk/updaters/management/commands/recalculate_aggregates.py/Command.process_chunk