-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot access member "add" for type "AsyncSession" (pylance) SQLAlchemy 1.4 #247
Labels
Comments
oh this is SQLAlchemy 1.4 ? then this is part of sqlalchemy2-stubs, sorry |
zzzeek
changed the title
Cannot access member "add" for type "AsyncSession" (pylance)
Cannot access member "add" for type "AsyncSession" (pylance) SQLAlchemy 1.4
Jan 16, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I'm using VSCode with pylance and sqlalchmey=1.4.32.
If I try to use the
add()
method of theAsyncSession
, I get an pylance error:It works none the less, but the type hinting etc. is messed up.
To Reproduce
Error
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: