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: ...