From dd13896b31b2cc25e5e858c2397a1896488ed8a0 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Fri, 23 Sep 2022 08:09:48 +0700 Subject: [PATCH] Document `exclude_job_id` in job.dependencies_are_met() --- rq/job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rq/job.py b/rq/job.py index 0436cf4f..e21eebe0 100644 --- a/rq/job.py +++ b/rq/job.py @@ -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