flask-rest requirement