(self, *args, **kwargs)
| 86 | # return query % tuple(args) |
| 87 | # |
| 88 | def execute(self, *args, **kwargs): |
| 89 | try: |
| 90 | super().execute(*args, **kwargs) |
| 91 | self.protocol_error = False |
| 92 | self.protocol_message = "" |
| 93 | except psycopg.errors.ProtocolViolation as ex: |
| 94 | self.protocol_error = True |
| 95 | self.protocol_message = str(ex) |
| 96 | _logger.debug("%s: %s" % (ex.__class__.__name__, ex)) |
| 97 | |
| 98 | |
| 99 | class PGExecute: |
no outgoing calls
no test coverage detected