smart-open

FileResponse with file opened using smart-open

FileResponse with file opened using smart-open Question: I’m trying to let a user download a file from my webpage. The file is in an S3 bucket I’m accessing using smart-open. The issue I’m having is how to combine that with FileReader. Presently I’m getting a TypeError: "expected str, bytes or os.PathLike object, not Reader". The …

Total answers: 1