I would like to have a flask route that displays the pdf which is stored in the s3, I have the s3 link available with me, or I can read the contents in memory using boto3 and then display if that's possible.
Downloading the file to local should be the last resort as I'll have to find a way to clean the directory in such a way that it does not deletes the directory contents when someone else is using it.