You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to elegantly use result_backend.set_progress ?? #464
Activity
s3rius commentedon May 13, 2025
You can obtain the current
task_idfromcontext.message.task_id.Also, I'm not sure if Context has a method named
set_progress. In order to set a progress, you need to depend on ProgressTracker.danfimov commentedon Sep 17, 2026
Code example:
You can read progress from other place (for example from http handler while task still working) by using task that you get from
.kiq():I will add part about set/get progress in documentation