[Python] Instance of 'SQLAlchemy' has no 'Column' member (no-member)

Discussão em 'Python' iniciado por Stack, Abril 30, 2025.

  1. Stack

    Stack Membro Participativo

    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 the error I mentioned earlier. I'm not sure whether SQLAlchemy has changed or what since I used it.

    from flask import Flask
    from flask_sqlalchemy import SQLAlchemy

    app = Flask(__name__)
    db = SQLAlchemy(app)

    class User(db.Model):
    id = db.Column(db.Integer, primary_key=True)


    The message emitted by pylint is

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

    Continue reading...

Compartilhe esta Página