You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: use sequence for typing rather than list (#970)
* chore: use sequence for typing rather than list
there's no reason we need to use `List` for the typing of issuers & other parameters - the `Sequence` type allows us to accept more types such as `tuple` and `set` which still support the behavior we need
* chore: use sequence rather than list for parameters in jws
loosens up the typing on `api_jws` so we accept sequences rather than just lists
* chore: undo return type change
* chore: update changelog
Copy file name to clipboardExpand all lines: CHANGELOG.rst
+2
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ This project adheres to `Semantic Versioning <https://semver.org/>`__.
10
10
Changed
11
11
~~~~~~~
12
12
13
+
- Use ``Sequence`` for parameter types rather than ``List`` where applicable by @imnotjames in `#970 <https://github.com/jpadilla/pyjwt/pull/970>`__
0 commit comments