Upgrade flask to 2.2.2 and remove the now defunct FLASK_ENV variable. Need to use FLASK_DEBUG instead. Also changed the defunct attachment_filename argument in send_file() to the new download_name arg
๐ฃ Description
NOTE: This PR will require you remove FLASK_ENV and DEBUG from your .env file and add FLASK_DEBUG which takes 0 or 1
๐ญ Motivation and context
๐งช Testing
tested locally
โ Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
Upgrade flask to 2.2.2 and remove the now defunct
FLASK_ENV
variable. Need to useFLASK_DEBUG
instead. Also changed the defunctattachment_filename
argument insend_file()
to the newdownload_name
arg๐ฃ Description
NOTE: This PR will require you remove
FLASK_ENV
andDEBUG
from your .env file and addFLASK_DEBUG
which takes0
or1
๐ญ Motivation and context
๐งช Testing
tested locally
โ Pre-approval checklist