MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / dispose_bind

Method dispose_bind

lib/sqlalchemy/testing/fixtures/sql.py:166–170  ·  lib/sqlalchemy/testing/fixtures/sql.py::TablesTest.dispose_bind
(cls, bind)

Source from the content-addressed store, hash-verified

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

Callers 1

Calls 2

disposeMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected