Skip to content
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

AttributeError: module 'sqlalchemy' has no attribute '__all__' #1122

Closed
iROCKBUNNY opened this issue Oct 14, 2022 · 0 comments
Closed

AttributeError: module 'sqlalchemy' has no attribute '__all__' #1122

iROCKBUNNY opened this issue Oct 14, 2022 · 0 comments
Milestone

Comments

@iROCKBUNNY
Copy link

I suspect that there is compatibility issue with SQLAlchemy 2.0.

File "/.../venv/lib/python3.9/site-packages/flask_sqlalchemy/extension.py", line 982, in __getattr__
    if name in mod.__all__:
AttributeError: module 'sqlalchemy' has no attribute '__all__'

Environment:

  • Python version: 3.9.6
  • Flask-SQLAlchemy version: 3.0.1
  • SQLAlchemy version: 2.0.0b1
@davidism davidism added this to the 3.0.2 milestone Oct 14, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants