Open swelborn opened 5 months ago
Want to note that you have to run the stubgen from within the site-packages dir
cd /path/to/pvaccess/
stubgen -m pvaccess
mv out/pvaccess.pyi .
So your dir should look like
~/.cache/pypoetry/virtualenvs/pva2hpc-NH_X-I2N-py3.11/lib/python3.11/site-packages/pvaccess$ ls
dbd doc __init__.py lib out pvaccess.pyi pvaccess.so __pycache__
Hello! I am doing some development with pvaccess/pvapy, and I have found my IDE (vscode) cannot find the symbols associated with pvaccess:
I generated them using mypy:
This fixes the issue (still unknown args, but better than having red lines everywhere in my IDE):