Sqlalchemy Get Ids

session.query(Thing.id).all()
Mysterious Manx