Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

DeprecationWarning from Flask-SQLAlchemy for app.extensions["sqlalchemy"] #247

Closed
woutervanoorschot opened this issue Nov 4, 2022 · 1 comment · Fixed by #249
Closed

Comments

@woutervanoorschot
Copy link
Contributor

Flask-SQLAlchemy has rewritten the way to load the extension. No longer app.extensions["sqlalchemy"].db but simply app.extensions["sqlalchemy"] see pallets-eco/flask-sqlalchemy#698.

This is used here:

db = app.extensions["sqlalchemy"].db

This is a breaking change and would require to also pin Flask-SQLAlchemy to >3.0 in

"flask-sqlalchemy",

@Abdur-rahmaanJ
Copy link

@sloria Any update?

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants