def requeue_job(job_id, connection=None):
 from .queue import get_failed_queue
 fq = get_failed_queue(connection=connection)
 fq.requeue(job_id)

def requeue_job ( job_id , connection = None ) : from . queue import get_failed_queue fq = get_failed_queue ( connection = connection ) fq . requeue ( job_id )
requeues the job with the given job id .