MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / __init__

Method __init__

lib/sqlalchemy/engine/base.py:2867–2870  ·  view source on GitHub ↗
(self, connection: Connection, xid: Any)

Source from the content-addressed store, hash-verified

2865 xid: Any
2866
2867 def __init__(self, connection: Connection, xid: Any):
2868 self._is_prepared = False
2869 self.xid = xid
2870 super().__init__(connection)
2871
2872 def prepare(self) -> None:
2873 """Prepare this :class:`.TwoPhaseTransaction`.

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected