MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _do_ping_w_event

Method _do_ping_w_event

lib/sqlalchemy/pool/base.py:134–138  ·  view source on GitHub ↗
(self, dbapi_connection: DBAPIConnection)

Source from the content-addressed store, hash-verified

132 dbapi_connection.close()
133
134 def _do_ping_w_event(self, dbapi_connection: DBAPIConnection) -> bool:
135 raise NotImplementedError(
136 "The ping feature requires that a dialect is "
137 "passed to the connection pool."
138 )
139
140 def get_driver_connection(self, connection: DBAPIConnection) -> Any:
141 return connection

Callers 1

_checkoutMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected