MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _checkin_failed

Method _checkin_failed

lib/sqlalchemy/pool/base.py:741–747  ·  view source on GitHub ↗
(
        self, err: BaseException, _fairy_was_created: bool = True
    )

Source from the content-addressed store, hash-verified

739 return fairy
740
741 def _checkin_failed(
742 self, err: BaseException, _fairy_was_created: bool = True
743 ) -> None:
744 self.invalidate(e=err)
745 self.checkin(
746 _fairy_was_created=_fairy_was_created,
747 )
748
749 def checkin(self, _fairy_was_created: bool = True) -> None:
750 if self.fairy_ref is None and _fairy_was_created:

Callers 2

checkoutMethod · 0.80
_checkoutMethod · 0.80

Calls 2

invalidateMethod · 0.95
checkinMethod · 0.95

Tested by

no test coverage detected