fix: 任务写清进度,设置和采集更好填
This commit is contained in:
@@ -496,6 +496,8 @@ def _public_task(task: ExportTask) -> dict:
|
||||
"status": task.status,
|
||||
"format": task.file_format,
|
||||
"cellKey": (task.params or {}).get("cellKey") or "",
|
||||
"start": (task.params or {}).get("start") or "",
|
||||
"end": (task.params or {}).get("end") or "",
|
||||
"error": task.error,
|
||||
"createdAt": task.created_at.isoformat() if task.created_at else "",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user