sqlalchemy使用vscode报错Instance of 'SQLAlchemy' has no 'Table' member的解决方法

sqlalchemy使用vscode报错

Instance of 'SQLAlchemy' has no 'Table' member (no-member)

但是代码正常运行,在stackoverflow.com获得答案,记录下

打开vscode文件->首选项->设置->扩展,在setting.json中设置,添加

{4BF18E49-32B4-4A16-8DFF-13FAC3F870D3}_20190506192752.jpg

"python.linting.pylintArgs": ["--load-plugins", "pylint_flask"]

{E530913B-EC43-43B4-BFBD-5A319D655890}_20190506192812.jpg

重启vscode解决

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://sulao.cn/post/661.html

我要评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。