After a fresh install, I was running flask_wtf 2.3.3 and I couldn't modify anything under services or workflow builder. I was receiving the following error:
File "/xxx/xxx/server.py", line 153, in decorated_function
result = function(*args, **kwargs)
File "/xxx/xxx/server.py", line 366, in route
if not form.validate_on_submit():
File "/usr/local/lib/python3.9/site-packages/flask_wtf/form.py", line 86, in validate_on_submit
return self.is_submitted() and self.validate(extra_validators=None)
TypeError: validate() got an unexpected keyword argument 'extra_validators'
The fix for this is to roll back to flask_wtf v1.0.1. Can we have this hardcoded in the requrements.txt?
After a fresh install, I was running flask_wtf 2.3.3 and I couldn't modify anything under services or workflow builder. I was receiving the following error:
File "/xxx/xxx/server.py", line 153, in decorated_function result = function(*args, **kwargs) File "/xxx/xxx/server.py", line 366, in route if not form.validate_on_submit(): File "/usr/local/lib/python3.9/site-packages/flask_wtf/form.py", line 86, in validate_on_submit return self.is_submitted() and self.validate(extra_validators=None) TypeError: validate() got an unexpected keyword argument 'extra_validators'
The fix for this is to roll back to flask_wtf v1.0.1. Can we have this hardcoded in the requrements.txt?
pip3 install flask_wtf==v1.0.1