-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[PyMySQL] Fix stubs for pymysql.connections.Connection.__init__ #14724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PyMySQL] Fix stubs for pymysql.connections.Connection.__init__ #14724
Conversation
This comment has been minimized.
This comment has been minimized.
Linking #14718 for visibility there |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Unfortunately this has a behavior change (see below), but there's an easy fix
This comment has been minimized.
This comment has been minimized.
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thank you!
This seems to be what it is at runtime: https://github.com/PyMySQL/PyMySQL/blob/d7bb777e503d82bf2496113f07dd4ab249615efc/pymysql/connections.py#L188C9-L188C20