Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MagicStack/asyncpg
/ _create_future
Function
_create_future
asyncpg/connect_utils.py:1367–1373 ·
view source on GitHub ↗
(loop)
Source
from the content-addressed store, hash-verified
1365
1366
1367
def
_create_future(loop):
1368
try
:
1369
create_future = loop.create_future
1370
except
AttributeError:
1371
return
asyncio.Future(loop=loop)
1372
else
:
1373
return
create_future()
Callers
3
__init__
Method · 0.85
__connect_addr
Function · 0.85
__init__
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected