def restart(self):
        self.server.request("post", "/jobs/%s/%s/state" % (self.sessionid,
            self.name), body="2")
        return True
restart the process
dataset/ETHPy150Open benoitc/gaffer/gaffer/httpclient/job.py/Job.restart