Retrieve a task result object, given a `task_id` in Celery

后端 未结 1 733
暖寄归人
暖寄归人 2020-12-09 08:03

I store the task_id from an celery.result.AsyncResult in a database and relate it to the item that the task affects. This allows me to perform a qu

相关标签:
1条回答
  • 2020-12-09 08:27

    From the Celery FAQ:

    result = MyTask.AsyncResult(task_id)
    result.get()
    
    0 讨论(0)
提交回复
热议问题