Query Building Using Sqlalchemy Install