You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Permission for publication of PyMySQL stubs in typeshed #524
I started to generate stubs for PyMySQL, which I uploaded to this repo.
I want to commit all this as third party stubs to the typeshed repo as I stated it in an issue there. According to the guidelines of typeshed and PEP484 respectively, the official permission from the regarding project for which the stubs are generated is necessary.
So, does the PyMySQL project agree that stubs generated for this project are published as third party stubs as part of the typeshed project?
connect should be defined as function which signature is same to Connect. Connect is only for backward compatibility. connect is standard (defined in DB-API 2.0) API.
Activity
methane commentedon Oct 26, 2016
Thanks, go ahead!
One point:
https://github.com/ghagerer/pymysql_stubs/blob/master/__init__.pyi#L30-L33
connectshould be defined as function which signature is same toConnect.Connectis only for backward compatibility.connectis standard (defined in DB-API 2.0) API.jhagerer commentedon Oct 26, 2016
Thanks! I included your feedback in the code.