Skip to content
Merged
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion stubs/PyMySQL/pymysql/cursors.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class DictCursorMixin:

class SSCursor(Cursor):
def __del__(self) -> None: ...
def read_next(self): ...
def read_next(self) -> tuple[Any, ...] | None: ...
Comment thread
brianschubert marked this conversation as resolved.
def fetchall(self) -> list[tuple[Any, ...]]: ... # type: ignore[override]
def fetchall_unbuffered(self) -> Iterator[tuple[Any, ...]]: ...
def scroll(self, value: int, mode: str = "relative") -> None: ...
Expand All @@ -54,3 +54,4 @@ class DictCursor(DictCursorMixin, Cursor): ... # type: ignore[misc]

class SSDictCursor(DictCursorMixin, SSCursor): # type: ignore[misc]
def fetchall_unbuffered(self) -> Iterator[dict[str, Any]]: ... # type: ignore[override]
def read_next(self) -> dict[str, Any] | None: ...
Comment thread
Spider84pr marked this conversation as resolved.
Outdated
Loading