diff options
Diffstat (limited to 'jwt/exceptions.py')
-rw-r--r-- | jwt/exceptions.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jwt/exceptions.py b/jwt/exceptions.py index ee201ad..dbe0056 100644 --- a/jwt/exceptions.py +++ b/jwt/exceptions.py @@ -47,10 +47,10 @@ class InvalidAlgorithmError(InvalidTokenError): class MissingRequiredClaimError(InvalidTokenError): - def __init__(self, claim): + def __init__(self, claim: str) -> None: self.claim = claim - def __str__(self): + def __str__(self) -> str: return f'Token is missing the "{self.claim}" claim' |