From 9d6fc1dafdf9d27a9ea87e210ff6e287d00a61d5 Mon Sep 17 00:00:00 2001 From: Skye Im Date: Tue, 10 Sep 2024 14:21:13 +0200 Subject: [PATCH] mysqlclient: Annotate Connect() return type (#12633) --- stubs/mysqlclient/MySQLdb/__init__.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stubs/mysqlclient/MySQLdb/__init__.pyi b/stubs/mysqlclient/MySQLdb/__init__.pyi index 887b28de1747..ab3a60939dad 100644 --- a/stubs/mysqlclient/MySQLdb/__init__.pyi +++ b/stubs/mysqlclient/MySQLdb/__init__.pyi @@ -46,6 +46,6 @@ DATETIME: Incomplete ROWID: Incomplete def Binary(x): ... -def Connect(*args, **kwargs): ... +def Connect(*args, **kwargs) -> Connection: ... connect = Connect