MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _close_special

Method _close_special

lib/sqlalchemy/pool/base.py:1519–1522  ·  view source on GitHub ↗
(self, transaction_reset: bool = False)

Source from the content-addressed store, hash-verified

1517 self._checkin()
1518
1519 def _close_special(self, transaction_reset: bool = False) -> None:
1520 self._counter -= 1
1521 if self._counter == 0:
1522 self._checkin(transaction_was_reset=transaction_reset)

Callers 2

closeMethod · 0.80
_test_queuepoolMethod · 0.80

Calls 1

_checkinMethod · 0.95

Tested by 1

_test_queuepoolMethod · 0.64