def finish_task(self, prefix):
        task = self.tasks.pop(self[prefix]['id'])
        self.done[task['id']] = task
Mark the task with the given prefix as finished.
dataset/ETHPy150Open sjl/t/t.py/TaskDict.finish_task