From 07121c8ef0d533a72dc778d8bbf18b0649d33f06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D1=81=D0=BB=D0=B0=D0=B2=20?= =?UTF-8?q?=D0=98=D0=B2=D1=87=D0=B5=D0=BD=D0=BA=D0=BE=D0=B2?= Date: Mon, 9 Feb 2026 02:01:11 +0300 Subject: [PATCH] Started annotating connections.pyi --- stubs/PyMySQL/pymysql/connections.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/PyMySQL/pymysql/connections.pyi b/stubs/PyMySQL/pymysql/connections.pyi index 32abdbf533df..bf1d4bc08613 100644 --- a/stubs/PyMySQL/pymysql/connections.pyi +++ b/stubs/PyMySQL/pymysql/connections.pyi @@ -172,7 +172,7 @@ class Connection(Generic[_C]): def query(self, sql, unbuffered: bool = False) -> int: ... def next_result(self, unbuffered: bool = False) -> int: ... def affected_rows(self): ... - def kill(self, thread_id): ... + def kill(self, thread_id) -> None: ... def ping(self, reconnect: bool = True) -> None: ... @deprecated("Method is deprecated. Use set_character_set() instead.") def set_charset(self, charset: str) -> None: ... @@ -180,7 +180,7 @@ class Connection(Generic[_C]): def connect(self, sock: _socket | None = None) -> None: ... def write_packet(self, payload) -> None: ... def _read_packet(self, packet_type=...): ... - def insert_id(self): ... + def insert_id(self) -> int: ... def thread_id(self): ... def character_set_name(self): ... def get_host_info(self) -> str: ...