tensorstore.Transaction(atomic: bool = False, repeatable_read: bool = False)

Creates a new transaction.

Write isolation is currently always implied.

Parameters:
atomic: bool = False

Requires atomicity when committing.

repeatable_read: bool = False

Requires that repeated reads return the same result.