simple_automation.transaction.Transaction

class simple_automation.transaction.Transaction(context, title, name)

Bases: object

A wrapper around a transaction context that enforces usage of the ‘with’ statement to modify the transaction.

Parameters
  • context (Context) – The context on which the transaction will be executed.

  • title (str) – The title of the transaction for printed output.

  • name (str) – The name of the transaction for printed output.

Methods