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

Method dispose

lib/sqlalchemy/pool/base.py:425–438  ·  view source on GitHub ↗

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

423 raise NotImplementedError()
424
425 def dispose(self) -> None:
426 """Dispose of this pool.
427
428 This method leaves the possibility of checked-out connections
429 remaining open, as it only affects connections that are
430 idle in the pool.
431
432 .. seealso::
433
434 :meth:`Pool.recreate`
435
436 """
437
438 raise NotImplementedError()
439
440 def connect(self) -> PoolProxiedConnection:
441 """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