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

Method dispose

lib/sqlalchemy/pool/base.py:423–436  ·  lib/sqlalchemy/pool/base.py::Pool.dispose

Dispose of this pool. This method leaves the possibility of checked-out connections remaining open, as it only affects connections that are idle in the pool. .. seealso:: :meth:`Pool.recreate`

(self)

Source from the content-addressed store, hash-verified

421 raise NotImplementedError()
422
423 def dispose(self) -> None:
424 class="st">"""Dispose of this pool.
425
426 This method leaves the possibility of checked-out connections
427 remaining open, as it only affects connections that are
428 idle in the pool.
429
430 .. seealso::
431
432 :meth:`Pool.recreate`
433
434 class="st">"""
435
436 raise NotImplementedError()
437
438 def connect(self) -> PoolProxiedConnection:
439 class="st">"""Return a DBAPI connection from the pool.

Callers 15

goFunction · 0.45
_drop_testing_enginesMethod · 0.45
registryMethod · 0.45
decl_baseMethod · 0.45
dc_decl_baseMethod · 0.45
dispose_bindMethod · 0.45
_do_testMethod · 0.45
test_closeMethod · 0.45

Calls

no outgoing calls