MCPcopy Index your code
hub / github.com/dbcli/pgcli / failed_transaction

Method failed_transaction

pgcli/pgexecute.py:297–298  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

295 return cur.fetchone()
296
297 def failed_transaction(self):
298 return self.conn.info.transaction_status == psycopg.pq.TransactionStatus.INERROR
299
300 def valid_transaction(self):
301 status = self.conn.info.transaction_status

Callers 2

transaction_indicatorMethod · 0.95
get_toolbar_tokensFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected