(self)
| 262 | self._finalized = False |
| 263 | |
| 264 | async def commit(self) -> None: |
| 265 | if self._finalized: |
| 266 | raise TransactionManagementError("Transaction already finalised") |
| 267 | await self._connection.commit() |
| 268 | self._finalized = True |
| 269 | |
| 270 | @translate_exceptions |
| 271 | async def savepoint(self) -> None: |