File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 251
251
from . import cdb2
252
252
from .cdb2 import ColumnType , Row , Value
253
253
from collections .abc import Callable , Iterator , Mapping , Sequence
254
- from typing import Any
254
+ from typing import Any , List
255
255
256
256
__all__ = [
257
257
"apilevel" ,
@@ -1167,7 +1167,7 @@ def fetchone(self) -> Row | None:
1167
1167
except StopIteration :
1168
1168
return None
1169
1169
1170
- def fetchmany (self , n : int | None = None ) -> Sequence [Row ]:
1170
+ def fetchmany (self , n : int | None = None ) -> List [Row ]:
1171
1171
"""Fetch the next set of rows of the current result set.
1172
1172
1173
1173
Args:
@@ -1187,7 +1187,7 @@ def fetchmany(self, n: int | None = None) -> Sequence[Row]:
1187
1187
n = self ._arraysize
1188
1188
return [x for x in itertools .islice (self , 0 , n )]
1189
1189
1190
- def fetchall (self ) -> Sequence [Row ]:
1190
+ def fetchall (self ) -> List [Row ]:
1191
1191
"""Fetch all remaining rows of the current result set.
1192
1192
1193
1193
Returns:
You can’t perform that action at this time.
0 commit comments