Job.requeue() doesn't return the job (#1265)

This commit is contained in:
ericatkin 2020-06-04 20:05:58 -06:00 committed by GitHub
parent 23d43874b6
commit 29222ea12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -577,7 +577,7 @@ class Job(object):
def requeue(self): def requeue(self):
"""Requeues job.""" """Requeues job."""
self.failed_job_registry.requeue(self) return self.failed_job_registry.requeue(self)
def delete(self, pipeline=None, remove_from_queue=True, def delete(self, pipeline=None, remove_from_queue=True,
delete_dependents=False): delete_dependents=False):