Skip to content

Question: get_current_job() ? #326

@mbi

Description

@mbi

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions