Skip to content

Transaction

amsdal_glue.TransactionCommand dataclass

Bases: Operation

Represents a transaction command operation.

Attributes:

Name Type Description
action TransactionAction

The action to be performed in the transaction.

schema SchemaReference | None

The schema reference associated with the transaction. Defaults to None.

parent_transaction_id str | None

The ID of the parent transaction, if any. Defaults to None.

amsdal_glue.TransactionAction

Bases: str, Enum

Represents the action of a transaction.

Attributes:

Name Type Description
BEGIN str

Begin a transaction.

COMMIT str

Commit a transaction.

ROLLBACK str

Rollback a transaction.

REVERT str

Revert a transaction.