Flask-restful: modification of a requirement