(self, xid: Any, is_prepared: bool)
| 1225 | self._handle_dbapi_exception(e, None, None, None, None) |
| 1226 | |
| 1227 | def _commit_twophase_impl(self, xid: Any, is_prepared: bool) -> None: |
| 1228 | if self._has_events or self.engine._has_events: |
| 1229 | self.dispatch.commit_twophase(self, xid, is_prepared) |
| 1230 | |
| 1231 | assert isinstance(self._transaction, TwoPhaseTransaction) |
| 1232 | try: |
| 1233 | self.engine.dialect.do_commit_twophase(self, xid, is_prepared) |
| 1234 | except BaseException as e: |
| 1235 | self._handle_dbapi_exception(e, None, None, None, None) |
| 1236 | |
| 1237 | def close(self) -> None: |
| 1238 | """Close this :class:`_engine.Connection`. |
no test coverage detected