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

Method _check_conn_validity

asyncpg/prepared_stmt.py:280–282  ·  view source on GitHub ↗
(self, meth_name)

Source from the content-addressed store, hash-verified

278 'the prepared statement is closed'.format(meth_name))
279
280 def _check_conn_validity(self, meth_name):
281 self._check_open(meth_name)
282 super()._check_conn_validity(meth_name)
283
284 def __del__(self):
285 self._state.detach()

Callers 1

__aexit__Method · 0.45

Calls 1

_check_openMethod · 0.95

Tested by

no test coverage detected