diff --git a/django-stubs/db/models/query.pyi b/django-stubs/db/models/query.pyi index 38c372467..c115bf9e6 100644 --- a/django-stubs/db/models/query.pyi +++ b/django-stubs/db/models/query.pyi @@ -42,7 +42,7 @@ class _BaseQuerySet(Generic[_T], Sized): def __and__(self, other: _BaseQuerySet[_T]) -> Self: ... def __or__(self, other: _BaseQuerySet[_T]) -> Self: ... def iterator(self, chunk_size: int = ...) -> Iterator[_T]: ... - async def aiterator(self, chunk_size: int = ...) -> Iterator[_T]: ... + def aiterator(self, chunk_size: int = ...) -> AsyncIterator[_T]: ... def aggregate(self, *args: Any, **kwargs: Any) -> dict[str, Any]: ... async def aaggregate(self, *args: Any, **kwargs: Any) -> dict[str, Any]: ... def get(self, *args: Any, **kwargs: Any) -> _T: ...