MCPcopy Index your code
hub / github.com/MagicStack/asyncpg / _abort

Method _abort

asyncpg/connection.py:1573–1577  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1571 await self.execute(reset_query)
1572
1573 def _abort(self):
1574 # Put the connection into the aborted state.
1575 self._aborted = True
1576 self._protocol.abort()
1577 self._protocol = None
1578
1579 def _cleanup(self):
1580 self._call_termination_listeners()

Callers 2

closeMethod · 0.95
terminateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected