I know an easy way to get all proper SQLA columns from a class A (that inherits from db.Model) - I can do A.__table__.columns
at runtime. However, A also has several association proxies, and I don't know of an elegant way to get a list of those (other than just running on all of the class' attributes).
Is there maybe a way to use SQLA's inspect for this?
I'm using python 2.7 and Flask-SQLAlchemy.