code: def requeue(rq, ctx, all, job_ids):
      "Requeue failed jobs."
      return ctx.invoke(
          rq_cli.requeue,
          all=all,
          job_ids=job_ids,
          **shared_options(rq)
      f requeue(rq, ctx, all, job_ids):
      "Requeue failed jobs."
      return ctx.invoke(
          rq_cli.requeue,
          all=all,
          job_ids=job_ids,
          **shared_options(rq)
      )
docs: Requeue failed jobs.