TheTechZone / signal-protocol.py

Experimental Python binding for signalapp/libsignal
GNU Affero General Public License v3.0
3 stars 0 forks source link

Typing stubs #3

Closed TheTechZone closed 7 months ago

TheTechZone commented 7 months ago

PyO3 does not natively support exporting typing annotations from rust. This makes it a bit cumbersome to work with the library, as the python LSP cannot provide direct feedback to the user.

We should find a way to add the typing annotations to the exported wheel, ideally while also preserving the doc-strings present in rust.

todo for myself: link relevant docs.