def get_data_for_unfinished_jobs():
 unfinished_job_models = job_models.JobModel.get_all_unfinished_jobs(NUM_JOBS_IN_DASHBOARD_LIMIT)
 return [_get_job_dict_from_job_model(model) for model in unfinished_job_models]

def get_data_for_unfinished_jobs ( ) : unfinished_job_models = job_models . JobModel . get_all_unfinished_jobs ( NUM_JOBS_IN_DASHBOARD_LIMIT ) return [ _get_job_dict_from_job_model ( model ) for model in unfinished_job_models ]
get a list containing data about all unfinished jobs .