

def get_job_overall_result(self):
    '\n        check the status of all the jobs and return the overall session result\n        '
    for job in self.doc['jobs'].values():
        if (self['status'] != 'completed'):
            return 'running'
        if (job['result'] != 'success'):
            return 'fail'
    return 'success'

dataset/ETHPy150Open openstack/freezer-api/freezer_api/api/v1/sessions.py Session.get_job_overall_result/VarMisuse@30/69 `job`->`self`