I'm trying to modify this python file on GitHub with VS Code on Mac. And Pylance keeps complaining "addText" is not a known member of module Pylance reportGeneralTypeIssues
on this line
eel.addText("<b style='color:green;'>data.json has been created successfully.</b>")
I'm sure it's not an error because I copied this file to a new folder and it runs correctly.
However when I check the eel source code in /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/eel/__init__.py
searching "addText", there's no result.
pip3 list | grep Eel
showsEel 0.10.4
python3 --version
showsPython 3.9.9
Could you explain why is this happening? How can I suppress this warning?