MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / commit_twophase

Method commit_twophase

lib/sqlalchemy/engine/events.py:609–619  ·  view source on GitHub ↗

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
    )

Source from the content-addressed store, hash-verified

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
622class DialectEvents(event.Events[Dialect]):

Calls

no outgoing calls