MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / get_connection_status

Function get_connection_status

web/pgadmin/tools/psql/__init__.py:610–614  ·  view source on GitHub ↗
(conn)

Source from the content-addressed store, hash-verified

608
609
610def get_connection_status(conn):
611 if conn.connected():
612 return True
613
614 return False
615
616
617def _get_database_role(sid, did):

Callers 1

_get_database_roleFunction · 0.85

Calls 1

connectedMethod · 0.45

Tested by

no test coverage detected