def store_result(self, result):
        req_id = result["req_id"]
        try:
            self.waiting_for_result.remove(req_id)
        except __HOLE__:
            # this result is no longer needed
            pass
        else:
            self.results[req_id] = result

    ######################################################
dataset/ETHPy150Open dsiroky/snakemq/snakemq/rpc.py/RpcClient.store_result