Skip to content
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

Python: add type stubs #139

Open
MKuranowski opened this issue Dec 22, 2024 · 0 comments
Open

Python: add type stubs #139

MKuranowski opened this issue Dec 22, 2024 · 0 comments

Comments

@MKuranowski
Copy link

The Python package comes without type stubs, even tough the protoc compiler contains a --pyi_out option to generate them.

Apart from allowing type checking for users of the gtfs-realtime-bindings package, type stubs would be especially helpful to understand what objects and methods are available in the package, as the generate modules relies heavily on runtime reflection, which isn't really human readable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant