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

Method dispose_bind

lib/sqlalchemy/testing/fixtures/sql.py:165–169  ·  view source on GitHub ↗
(cls, bind)

Source from the content-addressed store, hash-verified

163
164 @classmethod
165 def dispose_bind(cls, bind):
166 if hasattr(bind, "dispose"):
167 bind.dispose()
168 elif hasattr(bind, "close"):
169 bind.close()
170
171 @classmethod
172 def define_tables(cls, metadata):

Callers 1

Calls 2

disposeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected