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)
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)