From 0080b223fece617ceb33cb22701950b21dba28a1 Mon Sep 17 00:00:00 2001 From: Levin Rickert Date: Mon, 3 Feb 2020 11:38:04 +0100 Subject: [PATCH] Fix typos in job_registries.md (#1185) --- docs/docs/job_registries.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/docs/job_registries.md b/docs/docs/job_registries.md index 6e29c57..9ec5ca3 100644 --- a/docs/docs/job_registries.md +++ b/docs/docs/job_registries.md @@ -10,7 +10,7 @@ executed and removed right after completion (success or failure). * `FailedJobRegistry` Holds jobs that have been executed, but didn't finish successfully. * `DeferredJobRegistry` Holds deferred jobs (jobs that depend on another job and are waiting for that job to finish). -* `ScheduledJobRegistry` Holds schedduled jobs. +* `ScheduledJobRegistry` Holds scheduled jobs. You can get the number of jobs in a registry, the ids of the jobs in the registry, and more. Below is an example using a `StartedJobRegistry`. @@ -60,7 +60,7 @@ queue.started_job_registry # Returns StartedJobRegistry queue.deferred_job_registry # Returns DeferredJobRegistry queue.finished_job_registry # Returns FinishedJobRegistry queue.failed_job_registry # Returns FailedJobRegistry -queue.scheduled_job_registry # Returns ScheduledobRegistry +queue.scheduled_job_registry # Returns ScheduledJobRegistry ``` ## Removing Jobs @@ -88,4 +88,4 @@ for job_id in registry.get_job_ids(): # use `delete_job=True` for job_id in registry.get_job_ids(): registry.remove(job_id, delete_job=True) -``` \ No newline at end of file +```