MCPcopy Create free account
hub / github.com/dbcli/mycli / ping

Method ping

test/pytests/test_client_connection.py:522–525  ·  view source on GitHub ↗
(self, reconnect: bool = False)

Source from the content-addressed store, hash-verified

520 self.select_db_calls: list[str] = []
521
522 def ping(self, reconnect: bool = False) -> None:
523 effect = self.ping_effects.pop(0)
524 if isinstance(effect, BaseException):
525 raise effect
526
527 def select_db(self, dbname: str) -> None:
528 self.select_db_calls.append(dbname)

Callers 2

reconnectMethod · 0.45
_keepalive_hookFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected