mirror of https://github.com/rq/rq.git
Document `exclude_job_id` in job.dependencies_are_met()
This commit is contained in:
parent
c6b07d3755
commit
dd13896b31
|
@ -998,6 +998,7 @@ class Job:
|
|||
This is useful when enqueueing the dependents of a _successful_ job -- that status of
|
||||
`FINISHED` may not be yet set in redis, but said job is indeed _done_ and this
|
||||
method is _called_ in the _stack_ of its dependents are being enqueued.
|
||||
`exclude_job_id` allows us to exclude certain job IDs from being checked.
|
||||
"""
|
||||
connection = pipeline if pipeline is not None else self.connection
|
||||
|
||||
|
|
Loading…
Reference in New Issue