SQLALchemy working with flask requests.