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

Method __anext__

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

Source from the content-addressed store, hash-verified

1267 return self
1268
1269 async def __anext__(self):
1270 data = await run_in_executor(None, f.read, 524288)
1271 if len(data) == 0:
1272 raise StopAsyncIteration
1273 else:
1274 return data
1275
1276 reader = _Reader()
1277

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected