Flask v2.3.0 removes its deprecated before_first_request decorator (see changelog). This updates the flask example to replace the decorator with an equivalent example.
Type of change
[ ] Bug fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description of the change
Flask v2.3.0 removes its deprecated
before_first_request
decorator (see changelog). This updates the flask example to replace the decorator with an equivalent example.Type of change
Related issues
Checklists
Development
Code review