Transaction

Classes

class keysight.ads.de.db.Transaction

Operations performed between when the Transaction is created and when it is committed may be undone.

This provides the ability to group multiple operations together and undo them with a call to rollback.

__init__(design: Design | DesignDb, command: str = 'Edit') None
commit() None
is_empty() bool
rollback() None
property state: TransactionState

Enumerated Types

class keysight.ads.de.db.TransactionState

An enumeration specifying the state of a design transaction.

IN_PROGRESS = <TransactionState.IN_PROGRESS: 0>

The transaction is in progress.

COMMITTED = <TransactionState.COMMITTED: 1>

The transaction has been committed.

ROLLED_BACK = <TransactionState.ROLLED_BACK: 2>

The transaction has been rolled back.

On this page