schuderer/mllaunchpad

module 'werkzeug' has no attribute 'FileStorage'

schuderer opened this issue · 2 comments

Got this message when spinning up an api with a raml using the experimental "file" feature, but this was at a time when my project dependencies were a bit out of whack. Not sure whether I just used an incompatible system werkzeug/Flask version inadvertedly and whether this is a bug at all. Will check this and report back here as soon as I know.

Werkzeug has deprecated werkzeug.FileStorage and from version 1.0.0 on you can only use from werkzeug.datastructures import FileStorage. This has to be changed in mllaunchpad's api.py:

import werkzeug

"file", type=werkzeug.FileStorage, location="files"

I'm picking this one up