channable / channable/opsqueue
Add typing stubs (`.pyi` files) for PyO3-generated Python definitions
Offen
- Vorherrschende Sprache
- Rust
- Sterne
- 96
- Forks
- 2
- Ø Merge
- 1 Std. 2 Min.
- Gemergte PRs (30 T.)
- 2
Beschreibung
Even with https://github.com/channable/opsqueue/issues/8 resolved, type checkers will treat types that are exclusively defined via C bindings as `Any`. Typing stubs would fix this, but PyO3 currently does not generate them (https://github.com/PyO3/pyo3/issues/5137). Manually maintaining them would be annoying because it'd have to be kept in sync with the Rust definitions of the types, but it could still be valuable as a temporary solution.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Bewertung
Dieses Issue wurde noch nicht bewertet.