':type transaction_id: TransactionId'

def delete_by_id(self, transaction_id):

    assert isinstance(transaction_id, TransactionId), type(transaction_id)
    self._logger.debug((('Transaction    with    the    id:    ' + str(transaction_id)) + '    was    deleted    from    the    transaction    repository'))
    del self._transactions[transaction_id]
