Decorator verify_token not working with changes version werkzeug 2.3.0
The parameters attribute takes the place of the class itself being a dict. This greatly simplifies the type annotations as well as the implementation. The classes still support auth[key] and auth.key to get, set, and delete keys from the parameters dict, as well as auth.get(key) and key in auth.

More info:
[https://github.com/pallets/werkzeug/pull/2619](https://github.com/pallets/werkzeug/pull/2619)
[https://github.com/pallets/werkzeug/issues/1769](https://github.com/pallets/werkzeug/issues/1769)
关闭于 2023-04-27 0 条评论