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

Function _create_future

asyncpg/connect_utils.py:1307–1313  ·  view source on GitHub ↗
(loop)

Source from the content-addressed store, hash-verified

1305
1306
1307def _create_future(loop):
1308 try:
1309 create_future = loop.create_future
1310 except AttributeError:
1311 return asyncio.Future(loop=loop)
1312 else:
1313 return create_future()

Callers 3

__init__Method · 0.85
__connect_addrFunction · 0.85
__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…