Problem with VS Code, cannot find valid and existing property in SQLAlchemy object.

Error:
Instance of 'SQLAlchemy' has no 'foo' member'

Solution:
Visual Studio Code: Open File > Preferences > Settings > Edit in settings.json -> and paste this :

{
    "python.linting.pylintArgs": [
        "--load-plugins",
        "pylint-flask"
    ]

Leave a comment

Design a site like this with WordPress.com
Get started