Incompatibility problem with wtforms 3.0.0a1
See original GitHub issueFileUploadField seems to be incompatible with wtforms >= 3.0.0a1
The problem is:
TypeError: process() got an unexpected keyword argument 'extra_filters'
The process function overridden in the FileUploadFile class does not specify ‘extra_filters’ as a keyword argument.
wtforms==2.3.3 works, at least for this issue.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Changes — WTForms Documentation (3.0.x)
Fix a compatibility issue with SQLAlchemy 2.1 that caused QuerySelectField to fail with ValueError: too many values to unpack .
Read more >wtforms import could not be resolved - Stack Overflow
When I go to env/Lib/site-packages, I have flask_wtf, wtforms, and WTForms-3.0.1dist-info, and Flask_WTf-1.1.0dev0-py3.10egg-info folders, ...
Read more >conda-forge - :: Anaconda.org
aiida-abinit, 0.2.0a1, MIT, X, The AiiDA plugin for ABINIT. ... anyqt, 0.2.0, doc · dev, GPL-3.0-or-later, X, X, X, X, PyQt4/PyQt5 compatibility layer....
Read more >WTForms - PyPI
WTForms 3.0.1 ... WTForms is a flexible forms validation and rendering library for Python web ... Issue tracker: https://github.com/wtforms/wtforms/issues.
Read more >wtforms | flexible forms validation | Form library - kandi
wtforms has a highly active ecosystem. ... There are 38 open issues and 331 have been closed. ... The latest version of wtforms...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Looks like the fix has been merged in Oct 2021, but the last release is from Apr 2021. Any chance we can get another release?
form_extra_fields = { “file_upload”: self.form.FileUploadField() }
при добавлении в class StorageAdminModel(ModelView):
возникает эта ошибка. Как добавить поле file_upload в админку?
Model:
class StorageModel(db.Model): tablename = ‘storage’
class StorageAdminModel(ModelView): form_extra_fields = { “file_upload”: form.FileUploadField() }
TypeError: FileUploadField.process() got an unexpected keyword argument ‘extra_filters’