MCPcopy Create free account
hub / github.com/MagicStack/asyncpg / _close_connection

Method _close_connection

asyncpg/_testbase/fuzzer.py:143–146  ·  view source on GitHub ↗
(self, connection)

Source from the content-addressed store, hash-verified

141 self.restore_connectivity()
142
143 def _close_connection(self, connection):
144 conn_task = self.connections.pop(connection, None)
145 if conn_task is not None:
146 conn_task.cancel()
147
148 def close_all_connections(self):
149 for conn in list(self.connections):

Callers 1

closeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected