mongodb / flask-pymongo

PyMongo support for Flask applications
BSD 2-Clause "Simplified" License
721 stars 175 forks source link

enable send_file function to send file via file_id(the hex str) #145

Open georgelzh opened 4 years ago

georgelzh commented 4 years ago

I was working on a streaming project, happened to use flask-pymongo, and found out that I needed to send file via file_id. And so I tweaked it a bit to send file via file id. Thought this might be helpful for other users.

Kamalkoranga commented 1 year ago

Is it working ? as it gives typerror