Open chstolle opened 1 year ago
Tmp fix in root __init__.py
file
from sqlalchemy.ext import associationproxy
# fix for flask-admin, compatibility with sqla>2
# https://github.com/flask-admin/flask-admin/issues/2348
associationproxy.ASSOCIATION_PROXY = (
associationproxy.AssociationProxyExtensionType.ASSOCIATION_PROXY
)
Actually seems to be fixed in here. Available in 1.6.1. Not sure how I missed it 🤔 Maybe because this version is not highlighted in github releases but available in pypi.
This issue could be closed
FlaskAdmin does not seem compatible with SQLAlchemy 2.0 yet. I'm getting this import error: