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

Method _check_open

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

Source from the content-addressed store, hash-verified

1627 self._cancellations.clear()
1628
1629 def _check_open(self):
1630 if self.is_closed():
1631 raise exceptions.InterfaceError('connection is closed')
1632
1633 def _get_unique_id(self, prefix):
1634 global _uid

Callers 13

add_listenerMethod · 0.95
transactionMethod · 0.95
executeMethod · 0.95
executemanyMethod · 0.95
cursorMethod · 0.95
_prepareMethod · 0.95
fetchMethod · 0.95
fetchvalMethod · 0.95
fetchrowMethod · 0.95
fetchmanyMethod · 0.95
set_type_codecMethod · 0.95

Calls 1

is_closedMethod · 0.95

Tested by

no test coverage detected