MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / __aiter__

Method __aiter__

tortoise/queryset.py:1250–1252  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1248 return self._execute().__await__()
1249
1250 async def __aiter__(self) -> AsyncIterator[MODEL]:
1251 for val in await self:
1252 yield val
1253
1254 async def _execute(self) -> list[MODEL]:
1255 instance_list = await self._db.executor_class(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected