Commit Graph

16 Commits

Author SHA1 Message Date
Sebastian Rittau
b10f482e36 Bump mysqlclient to 2.2 (#10353)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-06-23 12:41:55 +01:00
Alex Waygood
bb7c376142 Add defaults for third-party stubs M-O (#9956) 2023-03-27 19:20:30 +02:00
Avasam
52ec44fa58 Improve many __(a)exit__ annotations (#9696) 2023-02-25 21:50:30 +00:00
Avasam
078c6a0958 Update Unused parameters in stubs/ (#9704)
* Update _Unused TypeAlias

* Update `object | None` params

* Replace unused `object` parameters with `Unused` alias
2023-02-21 23:52:52 -08:00
Alex Waygood
7180d0223b Use typing_extensions.Self instead of _typeshed.Self (#9702) 2023-02-15 11:32:43 +01:00
Alex Waygood
4fea314594 Replace Any with Incomplete in many places (#9558) 2023-01-18 08:48:16 +00:00
Nikita Sobolev
18e2ae762b Mark first argument of __[get|set|del]attr__ as str (#9245) 2022-11-22 11:06:50 +00:00
Kevin Kirsche
d8b0c605ed mysqlclient.connection: add missing type hints (#8393)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-07-26 06:26:35 -07:00
Kevin Kirsche
37911bfaa3 Add type hints to mysqlclient.times (#8392) 2022-07-26 15:06:37 +02:00
Kevin Kirsche
ef810e4f47 Annotate mysqlclient.release.version_info (#8391) 2022-07-25 22:08:17 +01:00
Kevin Kirsche
a066618eb6 mysqlclient: Annotate types of exceptions in Connection class (#8382) 2022-07-24 14:48:48 +01:00
Kevin Kirsche
f7166fc6ea Add return type to MySQLdb.Connection.__enter__ (#8381)
This pull request adds the return type, as seen in the link below, to the `mysqlclient.MySQLdb.connections:Connection.__enter__`
https://github.com/PyMySQL/mysqlclient/blob/main/MySQLdb/connections.py#L230-L231
2022-07-24 12:48:47 +01:00
Shantanu
58d486978e Bump mysqlclient to 2.1.* (#8116) 2022-06-20 21:36:21 -07:00
Alex Waygood
64af11c78f Correct several positional-only differences in third-party stubs (#7352) 2022-02-22 06:49:51 -08:00
Alex Waygood
8d5d2520ac Use PEP 585 syntax wherever possible (#6717) 2021-12-28 11:31:43 +01:00
Jukka Lehtosalo
2d3bde439e Stubs for mysqlclient (#5791) 2021-07-19 10:28:00 +02:00