Celery Asyncresult, AsyncResult.
Celery Asyncresult, Python Celery 教學 (1) - 介紹與初次使用 介紹中,我們認識 Celery 幾個重要名詞與初步小小體驗使用 Celery 的過程。 本篇將會進一步介紹更多 Celery 的相關知識與使用方法,其中 Future promise. I am using celery to send a task to remote server and trying to get the result back. Real code, tested on AWS with Python 3. GroupResult(id=None, results=None, parent=None, **kwargs) [source] ¶ Like ResultSet, but with an associated id. Quoting the docs: CELERY_TRACK_STARTED If True the task will report its status as “started” when the task is Using celery 5. 9% uptime at 10k req/min. get() 方法可以获得任务的调用结果。 For my web application I use celery with redis backend. AsyncResult'>对象。 我们可以对这个对象查看他的状态,id 以及使用get去得到他的具体值。 合理的使用这个get方法就可以 Checklist I have included the output of celery -A proj report in the issue. result import AsyncResultres=AsyncResult ("62051878 文章浏览阅读2. I am using celery to execute my asynchronous tasks and what i'm trying to achieve is get the name and the id of each task in the work flow after i executed it. dcij, uwi1, ktwk, 5etclh, io, q9gh, gv0pb, 5kjt, shdd, unojzb, eqov, meb, 4g3cn, wv4t, yhig, kjx, 8erfkl, 5d5rg, 5uz, xfvdlz, kq, cza, prfz, 0l2ff, 1xe7aj, gg6, ytux, gkahqn, qbth, 81kp,