Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ __init__
Method
__init__
asyncpg/connection.py:2644–2645 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
2642
__slots__ = (
'_acquired'
,)
2643
2644
def
__init__(self):
2645
self._acquired = 0
2646
2647
def
__enter__(self):
2648
if
self._acquired:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected