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

Method transaction_indicator

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

Source from the content-addressed store, hash-verified

306
307 @property
308 def transaction_indicator(self):
309 if self.is_connection_closed():
310 return "?"
311 if self.failed_transaction():
312 return "!"
313 if self.valid_transaction():
314 return "*"
315 return ""
316
317 def run(
318 self,

Callers

nothing calls this directly

Calls 3

is_connection_closedMethod · 0.95
failed_transactionMethod · 0.95
valid_transactionMethod · 0.95

Tested by

no test coverage detected