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

前端 未结 6 2149
清酒与你
清酒与你 2020-12-13 02:25

I\'m currently trying to implement steam login into website. But I\'m unable to get pass this error within the code. I\'ve created the database object but it keeps showing t

6条回答
  •  借酒劲吻你
    2020-12-13 03:13

    I've just encountered this issue. Neither of the suggested solutions worked for me, but the following does.

    First, install these modules:

    pip install pylint-flask
    pip install pylint-flask-sqlalchemy
    

    Then, in Visual Studio Code, you need to add the following to your settings.json file:

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

提交回复
热议问题