l.s.d.isolation : module documentation

Part of lp.services.database

Ensure that some operations happen outside of transactions.
Class TransactionInProgress Transactions may not be open at this time.
Function gen_store_statuses Yields (store_name, txn_status) tuples for all stores.
Function is_transaction_in_progress Return True if a transaction is in progress for any store.
Function check_no_transaction Raises TransactionInProgress if transaction is in progress.
Function ensure_no_transaction Decorator that calls check_no_transaction before function.
def gen_store_statuses():
Yields (store_name, txn_status) tuples for all stores.
def is_transaction_in_progress():
Return True if a transaction is in progress for any store.
def check_no_transaction():
Raises TransactionInProgress if transaction is in progress.
def ensure_no_transaction(func):
Decorator that calls check_no_transaction before function.
API Documentation for Launchpad, generated by pydoctor at 2018-02-25 00:00:04.