fix(data-process): 恢复提前中断的重新生成任务
This commit is contained in:
@@ -95,6 +95,10 @@ class FakeDataProcessStore:
|
||||
)
|
||||
return task
|
||||
|
||||
def recover_legacy_aborted_regeneration(self, task_id: str) -> dict[str, Any]:
|
||||
self.get_task(task_id)
|
||||
return {"recovered": False, "result_count": 0}
|
||||
|
||||
def update_task(self, task_id: str, payload: dict[str, Any]) -> dict[str, Any]:
|
||||
self.get_task(task_id)
|
||||
self.tasks[task_id].update(deepcopy(payload))
|
||||
|
||||
Reference in New Issue
Block a user