start#

Transaction.start(add_callback: Optional[Callable[[str, Any], None]] = None) None[source]#

Start the transaction.

Parameters:

add_callback (Optional[Callable[[str, Any], None]]) – Callback to be called when ever a node value pare has been added to the queue. Only valid for the started transaction.

Raises:

ToolkitError – A transaction is already in progress.

Return type:

None

Changed in version 0.4.0: add_callback added.