Unanswered
Hi, I Would Like To Add Artifacts From Two Parallel Process In The Same Task. But One One Process Finished It Changed Task Status To Complete. May Be You Know Some Save Way To Deal With Such Situation? Or Maybe The Best Way To Check Task Status Before Upl
Hi EnthusiasticCoyote38
But one one process finished it changed task status to complete. May be you know some save way to deal with such situation? Or maybe the best way to check task status before upload object?
Well, you can actually forcefully set the state of the Task to running, then add artifacts, then close it?
would that work?
my_other_task.reload() my_other_task.mark_started(force=True) my_other_task.upload_artifact(...) my_other_task.flush(wait_for_uploads=True) my_other_task.completed()
169 Views
0
Answers
3 years ago
one year ago