def complete(self, message):
        self.status = 'SUCCESS'
        self.end = now()
        self.message = message
        self.save()
Open the csv file and write the header in the csv file.
dataset/ETHPy150Open pandaproject/panda/panda/models/task_status.py/TaskStatus.complete--crossover with--dataset/ETHPy150Open enthought/pikos/pikos/recorders/csv_file_recorder.py/CSVFileRecorder.prepare