Skip to content

Commit 126f07b

Browse files
committed
Document the type of unverified JWS claims
So far the docstring for `jws.get_unverified_claims()` stated that the method returned a dict, while in fact it returns a string. This commit adjusts the documentation to reflect the actual behaviour.
1 parent 7193e5b commit 126f07b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jose/jws.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ def get_unverified_claims(token):
118118
token (str): A signed JWS to decode the headers from.
119119
120120
Returns:
121-
dict: The dict representation of the token claims.
121+
str: The str representation of the token claims.
122122
123123
Raises:
124124
JWSError: If there is an exception decoding the token.

0 commit comments

Comments
 (0)