1
1
from typing import Any
2
- from typing import Iterator
2
+ from typing import AsyncIterator
3
3
from typing import List
4
4
from typing import Mapping
5
5
from typing import Optional
@@ -32,7 +32,7 @@ class AsyncResult(AsyncCommon):
32
32
) -> _TAsyncResult : ...
33
33
async def partitions (
34
34
self , size : Optional [int ] = ...
35
- ) -> Iterator [List [Any ]]: ...
35
+ ) -> AsyncIterator [List [Any ]]: ...
36
36
async def fetchone (self ) -> Optional [Row ]: ...
37
37
async def fetchmany (self , size : Optional [int ] = ...) -> List [Row ]: ...
38
38
async def all (self ) -> List [Row ]: ...
@@ -56,7 +56,7 @@ class AsyncScalarResult(AsyncCommon):
56
56
) -> _TAsyncScalarResult : ...
57
57
async def partitions (
58
58
self , size : Optional [int ] = ...
59
- ) -> Iterator [List [Any ]]: ...
59
+ ) -> AsyncIterator [List [Any ]]: ...
60
60
async def fetchall (self ) -> List [Any ]: ...
61
61
async def fetchmany (self , size : Optional [int ] = ...) -> List [Any ]: ...
62
62
async def all (self ) -> List [Any ]: ...
@@ -77,7 +77,7 @@ class AsyncMappingResult(AsyncCommon):
77
77
) -> _TAsyncMappingResult : ...
78
78
async def partitions (
79
79
self , size : Optional [int ] = ...
80
- ) -> Iterator [List [Mapping [Any , Any ]]]: ...
80
+ ) -> AsyncIterator [List [Mapping [Any , Any ]]]: ...
81
81
async def fetchall (self ) -> List [Mapping [Any , Any ]]: ...
82
82
async def fetchone (self ) -> Optional [Mapping [Any , Any ]]: ...
83
83
async def fetchmany (
0 commit comments