Document `exclude_job_id` in job.dependencies_are_met()

This commit is contained in:
Selwin Ong 2022-09-23 08:09:48 +07:00
parent c6b07d3755
commit dd13896b31
1 changed files with 1 additions and 0 deletions

View File

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