@blueprint.route('/jobs/<job_id>', methods=['GET'])
def show_job(job_id):
    job = scheduler.get_job(job_id)
    if job is None:
        raise werkzeug.exceptions.NotFound('Job not found')

    if isinstance(job, dataset.DatasetJob):
        return flask.redirect(flask.url_for('digits.dataset.views.show', job_id=job_id))
    if isinstance(job, model.ModelJob):
        return flask.redirect(flask.url_for('digits.model.views.show', job_id=job_id))
    else:
        raise werkzeug.exceptions.BadRequest('Invalid job type')
Removes the death penalty alarm and puts back the system into
dataset/ETHPy150Open NVIDIA/DIGITS/digits/views.py/show_job--crossover with--dataset/ETHPy150Open bretth/django-pq/pq/timeouts.py/death_penalty_after.cancel_death_penalty