Using SQLAlchemy, I am trying to print out all of the attributes of each model that I have in a manner similar to:
SELECT * from table;
How
print repr(model.__table__)
Or just the columns:
print str(list(model.__table__.columns))