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
In typeshed we usually try to follow the implementation in cases like this, so some reshuffling of the exceptions seem in order. (I didn't check.) PRs welcome for these (and any other) issues.
FWIW, the PyJWT project has started including its own type annotations. Perhaps efforts would be better spent updating them in the library rather than in typeshed.
Uh oh!
There was an error while loading. Please reload this page.
Problems:
The exceptions are stubbed in
jwt
(ie.jwt.MissingRequiredClaimError
), but not the more explicitjwt.exceptions
(iejwt.exceptions.MissingRequiredClaimError
).Definitions are here: https://github.com/python/typeshed/blob/master/third_party/3/jwt/__init__.pyi#L25
PyJWK{,Set,Client}Error
Exceptions are missing (see https://github.com/jpadilla/pyjwt/blob/master/jwt/exceptions.py#L57)MissingRequiredClaimError
is missing theclaim
attribute (see https://github.com/jpadilla/pyjwt/blob/master/jwt/exceptions.py#L51).Definition is here: https://github.com/python/typeshed/blob/master/third_party/3/jwt/__init__.pyi#L35)
The text was updated successfully, but these errors were encountered: