Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/MagicStack/asyncpg
/ _check_open
Method
_check_open
asyncpg/connection.py:1603–1605 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1601
self._cancellations.clear()
1602
1603
def
_check_open(self):
1604
if
self.is_closed():
1605
raise
exceptions.InterfaceError(
'connection is closed'
)
1606
1607
def
_get_unique_id(self, prefix):
1608
global _uid
Callers
13
add_listener
Method · 0.95
transaction
Method · 0.95
execute
Method · 0.95
executemany
Method · 0.95
cursor
Method · 0.95
_prepare
Method · 0.95
fetch
Method · 0.95
fetchval
Method · 0.95
fetchrow
Method · 0.95
fetchmany
Method · 0.95
set_type_codec
Method · 0.95
set_builtin_type_codec
Method · 0.95
Calls
1
is_closed
Method · 0.95
Tested by
no test coverage detected