def process_all(self): """Call process method for all Data instance""" start = datetime.datetime.now() for _, d in self.data.items(): d.process() end = datetime.datetime.now() self.app.report_update_phase('Generate', {'start': date_to_json(start), 'end': date_to_json(end), 'duration': date_to_json(end - start)})