

def set_job_start(self, job_id, timestamp):
    try:
        job = self.doc['jobs'][job]
    except Exception:
        raise freezer_api_exc.BadDataFormat('job_id not found in session')
    job['status'] = 'running'
    job['result'] = ''
    job['time_started'] = timestamp

dataset/ETHPy150Open openstack/freezer-api/freezer_api/api/v1/sessions.py Session.set_job_start/VarMisuse@27/35 `job_id`->`job`