Intercept commit_twophase() events. :param conn: :class:`_engine.Connection` object :param xid: two-phase XID identifier :param is_prepared: boolean, indicates if :meth:`.TwoPhaseTransaction.prepare` was called.
(
self, conn: Connection, xid: Any, is_prepared: bool
)
| 607 | """ |
| 608 | |
| 609 | def commit_twophase( |
| 610 | self, conn: Connection, xid: Any, is_prepared: bool |
| 611 | ) -> None: |
| 612 | """Intercept commit_twophase() events. |
| 613 | |
| 614 | :param conn: :class:`_engine.Connection` object |
| 615 | :param xid: two-phase XID identifier |
| 616 | :param is_prepared: boolean, indicates if |
| 617 | :meth:`.TwoPhaseTransaction.prepare` was called. |
| 618 | |
| 619 | """ |
| 620 | |
| 621 | |
| 622 | class DialectEvents(event.Events[Dialect]): |
no outgoing calls