commaai / msgq

MSGQ: A lock free single producer multi consumer message queue
184 stars 251 forks source link

generate python stubs for type completion #546

Closed jnewb1 closed 6 months ago

jnewb1 commented 1 year ago

example type completions: image image image

adeebshihadeh commented 1 year ago

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

jnewb1 commented 1 year ago

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