ITADN

Decorator verify_token not working with changes version werkzeug 2.3.0

#160ClosedGabiAndi 创建于 2023-04-26
G
GabiAndicommented
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. ![2023-04-26-145522_1531x587_scrot](https://user-images.githubusercontent.com/27433474/234662293-33c24c6d-a8a5-4e63-85db-9d744095677a.png) 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 条评论