django-tasks-scheduler icon indicating copy to clipboard operation
django-tasks-scheduler copied to clipboard

Question: get_current_job() ?

Open mbi opened this issue 1 month ago • 0 comments

Is there a way, within the callable function being handled in the context of a job, to access the job itself? rq had this as get_current_job() [ref] which returns either the current Job, or None.

This is useful to e.g. access and update the current job's Meta, to sync UI state (e.g. progress of the current task)

mbi avatar Nov 07 '25 14:11 mbi