how to union two subqueries in sqlalchemy and postgresql,session.query(q).limit(10)