Closed john-parton closed 1 month ago
Queryset.aiterator() was set up to by annotated as async () -> Iterator which implies the call semantics are
async () -> Iterator
for obj in await queryset.aiterator(): ...
But what we actually want is
async for obj in queryset.aiterator(): ...
Updated signature to match Django
Rebased/force-pushed to avoid warning from CI
Thanks!
Queryset.aiterator() was set up to by annotated as
async () -> Iterator
which implies the call semantics areBut what we actually want is
Updated signature to match Django