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

Function poll_data

web/pgadmin/tools/debugger/__init__.py:2081–2092  ·  view source on GitHub ↗

poll data. :param conn: :return:

(conn)

Source from the content-addressed store, hash-verified

2079
2080
2081def poll_data(conn):
2082 """
2083 poll data.
2084 :param conn:
2085 :return:
2086 """
2087 statusmsg = conn.status_message()
2088 if statusmsg and statusmsg == 'SELECT 1':
2089 statusmsg = ''
2090 status, result = conn.poll()
2091
2092 return status, result, statusmsg
2093
2094
2095def check_result(result, conn, statusmsg):

Callers 1

Calls 2

status_messageMethod · 0.45
pollMethod · 0.45

Tested by

no test coverage detected