Someone
public text v1 · immutable def get_job_by_id(self, job_id):
"""
Returns a job by the job id.
Parameters:
id -- the job id
"""
import gc
gc.set_debug(gc.DEBUG_LEAK)
objects = gc.get_objects()
log.err('GC: %s' % (len(objects)))
jdict = self.jobdb.get_job_by_id(job_id)
uuid = jdict['monitor_id']
jdict['worker_info'] = self.monitordb.get_monitor(uuid)
return jdict