how to retrieve executed sql code from sqlalchemy,session.commit()