From 0483be6983d36ee8a996a85337877065f7024f29 Mon Sep 17 00:00:00 2001 From: Scott Nemes Date: Thu, 18 Dec 2025 23:55:54 -0800 Subject: [PATCH] [PyMySQL] Add Cursor.warning_count attribute (#15150) --- stubs/PyMySQL/pymysql/cursors.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/stubs/PyMySQL/pymysql/cursors.pyi b/stubs/PyMySQL/pymysql/cursors.pyi index 4a9dfca63..2df887735 100644 --- a/stubs/PyMySQL/pymysql/cursors.pyi +++ b/stubs/PyMySQL/pymysql/cursors.pyi @@ -17,6 +17,7 @@ class Cursor: messages: Any errorhandler: Any lastrowid: int + warning_count: int def __init__(self, connection: Connection[Any]) -> None: ... def close(self) -> None: ... def setinputsizes(self, *args) -> None: ...