-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
NameError: name 'AsyncSession' is not defined #248
Comments
tyki6
changed the title
AsyncSession is not defined
NameError: name 'AsyncSession' is not defined
Jul 29, 2023
Have you not installed SQLAlchemy for the extension dependency of asynchronous functionality? Use the following command to install it:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I type my dependencies, I got an error
Example:
Error Log:
if I omit AsyncSession for session type with
session = Depends(get_db_async)
everything is ok.Anyone can tell me how to solve that?
The text was updated successfully, but these errors were encountered: