Access job object from Python script