SQLAlchemy Model Object Unlinting #50
Labels
area-linting
bug
Issue identified by VS Code Team member as probable bug
info-needed
Issue requires more information from poster
Environment data
VS Code version: 1.18.0
Python Extension version: 0.8.0
Python Version: 3.5
OS and version: Linux Ubuntu
Actual behavior
Errors during development, but running python works normally. In case the imported
db
is a class that returns SQLAlchemy()Expected behavior
Do not display code inconsistency for cases like the one presented above.
Steps to reproduce:
Create db.py
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
Use this importing db in the model class and declare the variables the way I presented in the print above.
The text was updated successfully, but these errors were encountered: