diff options
author | Selwin Ong <selwin.ong@gmail.com> | 2022-09-23 08:09:48 +0700 |
---|---|---|
committer | Selwin Ong <selwin.ong@gmail.com> | 2022-09-23 08:09:48 +0700 |
commit | dd13896b31b2cc25e5e858c2397a1896488ed8a0 (patch) | |
tree | 75ee7c06a001c6c118d44e5ef5bc1c3df1eb484b | |
parent | c6b07d375589f8fd7a8071993f12a6bde5222b7f (diff) | |
download | rq-dependency-canceled.tar.gz |
Document `exclude_job_id` in job.dependencies_are_met()dependency-canceled
-rw-r--r-- | rq/job.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |