MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / _checkin

Method _checkin

lib/sqlalchemy/pool/base.py:1393–1402  ·  view source on GitHub ↗
(self, transaction_was_reset: bool = False)

Source from the content-addressed store, hash-verified

1391 return _ConnectionFairy._checkout(self._pool, fairy=self)
1392
1393 def _checkin(self, transaction_was_reset: bool = False) -> None:
1394 _finalize_fairy(
1395 self.dbapi_connection,
1396 self._connection_record,
1397 self._pool,
1398 None,
1399 self._echo,
1400 transaction_was_reset=transaction_was_reset,
1401 fairy=self,
1402 )
1403
1404 def _close(self) -> None:
1405 self._checkin()

Callers 4

_closeMethod · 0.95
invalidateMethod · 0.95
closeMethod · 0.95
_close_specialMethod · 0.95

Calls 1

_finalize_fairyFunction · 0.85

Tested by

no test coverage detected