pvaPy icon indicating copy to clipboard operation
pvaPy copied to clipboard

Type stubs missing

Open swelborn opened this issue 8 months ago • 1 comments

Hello! I am doing some development with pvaccess/pvapy, and I have found my IDE (vscode) cannot find the symbols associated with pvaccess:

image

I generated them using mypy:

pip install mypy
stubgen -m pvaccess
mv out/pvaccess.pyi /path/to/pvacess/site-packages/dir/

This fixes the issue (still unknown args, but better than having red lines everywhere in my IDE): image

swelborn avatar Jun 13 '24 12:06 swelborn