I have a marshmallow schema validation like this: Then in my endpoint I call the schema validation: MyFilterSchema().load(flask.request.args) Now I try to call the HTTP GET endpoint which is using this validation. But I get ‘ids’: [‘Not a valid list.’] I tried different ways: but no luck. How must the endpoint be called that marshmallow recognizes my GET parameter as
Tag: flask-marshmallow
How to handle file upload validations using Flask-Marshmallow?
I’m working with Flask-Marshmallow for validating request and response schemas in Flask app. I was able to do simple validations for request.form and request.args when there are simple fields like Int, Str, Float etc. I have a case where I need to upload a file using a form field – file_field. It should contain the file content. How can I