MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / dispose

Method dispose

lib/sqlalchemy/pool/impl.py:549–552  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

547 assert record is self._conn
548
549 def dispose(self) -> None:
550 self._checked_out = False
551 if self._conn:
552 self._conn.close()
553
554 def recreate(self) -> AssertionPool:
555 self.logger.info("Pool recreating")

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected