Return True if a transaction is in progress.
(self)
| 1049 | self.engine.dialect.do_commit_twophase(self, xid, recover=recover) |
| 1050 | |
| 1051 | def in_transaction(self) -> bool: |
| 1052 | """Return True if a transaction is in progress.""" |
| 1053 | return self._transaction is not None and self._transaction.is_active |
| 1054 | |
| 1055 | def in_nested_transaction(self) -> bool: |
| 1056 | """Return True if a transaction is in progress.""" |
no outgoing calls
no test coverage detected