A few changes to make the package ready for use with Flask 2 (still works with Flask 1.x).
For instance, the HTTPException getters now expect another positional argument, scope: https://github.com/pallets/werkzeug/blob/main/src/werkzeug/exceptions.py#L153-L157
Note: Flask 2.0.1 introduced a check of the Blueprint name on init, which requires the name to be set to some string (i.e. not None).
A few changes to make the package ready for use with Flask 2 (still works with Flask 1.x). For instance, the
HTTPException
getters now expect another positional argument,scope
: https://github.com/pallets/werkzeug/blob/main/src/werkzeug/exceptions.py#L153-L157 Note: Flask 2.0.1 introduced a check of the Blueprint name on init, which requires the name to be set to some string (i.e. notNone
).