@blueprint.route('/jobs/<job_id>/table_data.json', methods=['GET'])
def job_table_data(job_id):
 job = scheduler.get_job(job_id)
 if (job is None):
  raise werkzeug.exceptions.NotFound('Job not found')
 model_output_fields = set()
 return flask.jsonify({'job': json_dict(job, model_output_fields)})

@ blueprint . route ( '/jobs/<job_id>/table_data.json' , methods = [ 'GET' ] ) def job_table_data ( job_id ) : job = scheduler . get_job ( job_id ) if ( job is None ) : raise werkzeug . exceptions . NotFound ( 'Job not found' ) model_output_fields = set ( ) return flask . jsonify ( { 'job' : json_dict ( job , model_output_fields ) } )
get the job data for the front page tables .