We’ll go over 3 pull requests I created in each library to fix a few deprecation warnings.
Hit the subscribe button to receive more videos like this!
REFERENCE LINKS
► https://palletsprojects.com/blog/flask-2-0-released/
► https://buildasaasappwithflask.com
► https://github.com/nickjj
► https://github.com/maxcountryman/flask-login/issues/584
► https://github.com/maxcountryman/flask-login/pull/585
► https://github.com/lepture/flask-wtf/pull/434
► https://github.com/flask-debugtoolbar/flask-debugtoolbar/pull/157
TIMESTAMPS
- 0:00 – What we’re going to cover in this video
- 0:13 – Flask 2.0 recently came out
- 0:50 – Let’s be proactive and make PRs on libraries we use
- 3:39 – Reading a deprecation warning
- 4:46 – If you’re going to open an issue, consider a PR instead
- 5:49 – Addressing the warning for Flask-Login
- 7:39 – Addressing the warning for Flask-WTF
- 9:53 – Tracking down an issue for a less helpful deprecation warning
- 13:19 – Addressing the warning for Flask-Debugtoolbar
- 15:42 – Popping open a Python interpreter to test the core of our patch
- 17:51 – If you want to make an open source maintainer’s day, open a PR
#flask #python #web-development