From cf501518534429640a9a6d14e022f9329225e701 Mon Sep 17 00:00:00 2001 From: Selwin Ong Date: Tue, 26 Nov 2019 19:52:19 +0700 Subject: [PATCH] Added a note to indicate that `registry.remove(job, delete_job=True)` is new --- docs/docs/job_registries.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/job_registries.md b/docs/docs/job_registries.md index 8fd93ca..cbd739c 100644 --- a/docs/docs/job_registries.md +++ b/docs/docs/job_registries.md @@ -46,6 +46,8 @@ print('Job in registry %s' % (job.id in registry)) ## Removing Jobs +_New in version 1.2.0_ + To remove a job from a job registry, use `registry.remove()`. This is useful when you want to manually remove jobs from a registry, such as deleting failed jobs before they expire from `FailedJobRegistry`.