Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
610
def
get_connection_status(conn):
611
if
conn.connected():
612
return
True
613
614
return
False
615
616
617
def
_get_database_role(sid, did):
Callers
1
_get_database_role
Function · 0.85
Calls
1
connected
Method · 0.45
Tested by
no test coverage detected