advanced-rest-api-lecture-codes icon indicating copy to clipboard operation
advanced-rest-api-lecture-codes copied to clipboard

Start and end codes for the lectures of our Advanced REST APIs with Flask and Python course

Results 2 advanced-rest-api-lecture-codes issues
Sort by recently updated
recently updated
newest added

It seems Flask-Uploads got outdated. Here is a fix for the error `ImportError: cannot import name 'secure_filename' from 'werkzeug'`: https://stackoverflow.com/questions/61628503/flask-uploads-importerror-cannot-import-name-secure-filename In `flask_uploads.py` Change ```py from werkzeug import secure_filename, FileStorage ```...

Added type hinting for None type return as well, as PyCharm highlights it as well: -> Union[None, FileStorage]