def JobClient.retry(job_or_id: Job | str) -> intRetry a job. All failed tasks will become queued again, and queued tasks will be picked up by runners again.
Parameters
Section titled “Parameters”job_or_id Job | str The job or job id to retry.
Returns
Section titled “Returns”The number of tasks that were rescheduled.