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.
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/issues/1769