long2ice / asyncmy

A fast asyncio MySQL/MariaDB driver with replication protocol support
https://github.com/long2ice/asyncmy
Apache License 2.0
262 stars 32 forks source link

Add type stubs for asyncmy #78

Open ipfans opened 1 year ago

ipfans commented 1 year ago

The asyncmy library is great for asynchronous programming in Python. To improve the developer experience even further, I would like to kindly suggest adding type stubs. Having type stubs would enable better type hinting and autocompletion in editors using tools like mypy and pylance. It helps provide clearer function signatures and return types when using asyncmy.

I would be happy to contribute a PR with type stub definitions for asyncmy if this is something you would welcome.

trim21 commented 8 months ago

I would also be happy to contribute a PR with type stub definitions for asyncmy if this is something you would welcome.

ipfans commented 8 months ago

@trim21 Hmm, I almost forgot this. Maybe we can send a PR first.

trim21 commented 8 months ago

wait for response from @long2ice, don't want to get rejected after time is spent.

trim21 commented 8 months ago

also https://github.com/cython/cython/issues/3150

trim21 commented 8 months ago

@long2ice

dingxiong commented 4 months ago

Any progress?

trim21 commented 4 months ago

no response from repo owner