kRPC: Control the game using C#, C++, Java, Lua, Python...

kRPC: Control the game using C#, C++, Java, Lua, Python...

8.4k Downloads

Assign correct types in .pyi stubs

djungelorm opened this issue ยท 1 comments

commented

For examle, pycharm shows the type of conn.space_center.active_vessel to be SpaceCenter when it should be Vessel.

This means you need explicit casting for the code to type check corretly.

(Reported by ROY on discord)

commented

image