def fetch_body(self):
        obj = json.loads(self.request.body.decode('utf-8'))
        if not "name" or not obj in "cmd":
            raise ValueError

        name = obj.pop("name")
        cmd = obj.pop("cmd")
        return name, cmd, obj
dataset/ETHPy150Open benoitc/gaffer/gaffer/gafferd/http_handlers/jobs.py/JobsHandler.fetch_body/swapped operands of `in`