ITADN

When generating pyi, all parameters are the same

#676ClosedTinyu-Zhao 创建于 2025-08-18
WaitingResolved
T
Tinyu-Zhaocommented
I am a developer and I want to create related pyi for our [driver library](https://github.com/m5stack/uiflow-micropython), but I encountered a problem. I followed the method in the [documentation](https://micropython-stubber.readthedocs.io/en/main/40_firmware_stubs.html) and executed the [script](https://github.com/Josverl/micropython-stubber/blob/main/mip/v6/createstubs.py) on the device to create pyi, but all the pyi parameters of the generated functions are the same. <img width="880" height="755" alt="Image" src="https://github.com/user-attachments/assets/1eb8d831-0a60-4d60-851e-469cdc579df5" /> <img width="1075" height="623" alt="Image" src="https://github.com/user-attachments/assets/7789c611-35c4-4da5-b1d7-693c3000d1db" /> I don't know where the problem lies.
关闭于 2025-09-02 6 条评论