crandas.transactions¶
Transaction implementation.
- class crandas.transactions.Transaction(*, session=None, dummy_for=False, name=None, add_nonce=False, _keep=None, **execute_args)¶
Bases:
object
Transaction context manager
When used as a context manager (i.e., in a
with Transaction():
block), causes all commands in the context to be executed at the server as a single init. See Authorization and transactions.
- crandas.transactions.show_transaction_graph(t, outfile)¶
Generates a transaction graph
- Parameters:
t (Transaction) – the Transaction to be graphed
outfile (str) – name of the output file