Could use filter_by here: `Job.query.filter_by(id=job_id).first()`