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

generate python stubs for type completion #546

Closed
wants to merge 12 commits into from
Closed

generate python stubs for type completion #546

wants to merge 12 commits into from

Conversation

jnewb1
Copy link
Contributor

@jnewb1 jnewb1 commented Oct 17, 2023

example type completions:
image
image
image

@jnewb1 jnewb1 marked this pull request as draft October 17, 2023 23:39
@adeebshihadeh
Copy link
Contributor

There's a PR for this #493. This is way cleaner though; does it have the same coverage?

@jnewb1
Copy link
Contributor Author

jnewb1 commented Oct 17, 2023

There's a PR for this #493. This is way cleaner though; does it have the same coverage?

coverage should be the same. requires changes to capnp-stub-generator to sepecify the output directory. enums are also broken because the current stubs use string literals, so something like

car.CarParams.Ecu.fwdRadar

doesn't work atm

@jnewb1 jnewb1 closed this Apr 25, 2024
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

Successfully merging this pull request may close these issues.

2 participants