MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_nested_transaction

Method get_nested_transaction

lib/sqlalchemy/orm/session.py:1896–1903  ·  view source on GitHub ↗

Return the current nested transaction in progress, if any. .. versionadded:: 1.4

(self)

Source from the content-addressed store, hash-verified

1894 return trans
1895
1896 def get_nested_transaction(self) -> Optional[SessionTransaction]:
1897 """Return the current nested transaction in progress, if any.
1898
1899 .. versionadded:: 1.4
1900
1901 """
1902
1903 return self._nested_transaction
1904
1905 @util.memoized_property
1906 def info(self) -> _InfoType:

Callers 8

goFunction · 0.45
test_get_transactionMethod · 0.45
test_in_transactionMethod · 0.45

Calls

no outgoing calls