Is it possible to upload multiple files with the same request using chalice? If yes, how can we do it?
Not sure what you are asking exactly. Chalice just deploys python code to lambda and does all the configuration wiring for you to other services. Any file uploading in your application is just a python code question unless I am misunderstanding?
Usually a framework, for example in other clouds like google cloud for example, offers a files object which is an array of the uploaded files e.g. in google cloud one can do this
for upload in self.get_uploads():
I'm currently using the serverless framework to upload files and I must manually parse the request which is hacky and tricky. It would be easier if done like above.
To reword and extend this in a chalice/flask friendly way-
It would be nice if the Request object in Chalice matched the Request object in Flask and included the following properties (as defined in flask):
Ahh got it. Yea that makes sense as something to work toward.
Most helpful comment
To reword and extend this in a chalice/flask friendly way-
It would be nice if the Request object in Chalice matched the Request object in Flask and included the following properties (as defined in flask):