def transaction_abort(self, transaction_id, **kwargs):
        """Abort a transaction and roll back all operations.
        :param transaction_id: ID of transaction to be aborted.
        :param **kwargs: Further parameters for the transport layer.
        """
        if transaction_id not in self.__transactions:
            raise workflows.Error("Attempting to abort unknown transaction")
        self.log.debug("Aborting transaction %s", transaction_id)
        self.__transactions.remove(transaction_id)
        self._transaction_abort(transaction_id, **kwargs)
def transaction_abort ( self , transaction_id , ** kwargs ) : if transaction_id not in self . __transactions : raise workflows . Error ( "Attempting to abort unknown transaction" ) self . log . debug ( "Aborting transaction %s" , transaction_id ) self . __transactions . remove ( transaction_id ) self . _transaction_abort ( transaction_id , ** kwargs )
Abort a transaction and roll back all operations.
        :param transaction_id: ID of transaction to be aborted.
        :param **kwargs: Further parameters for the transport layer.