def get_params(self):
        obj = json.loads(self.request.body.decode('utf-8'))
        env = obj.get('env')
        graceful_timeout = obj.get('graceful_timeout')
        if graceful_timeout is not None:
            try:
                graceful_timeout = int(obj.get('graceful_timeout'))
            except __HOLE__ as e:
                raise ValueError(str(e))
        return graceful_timeout, env
dataset/ETHPy150Open benoitc/gaffer/gaffer/gafferd/http_handlers/jobs.py/CommitJobHandler.get_params