Fixes #660: Improve typing/logic for options in decode, decode_complete; Improve docs#1045
Merged
auvipy merged 15 commits intojpadilla:masterfrom Mar 5, 2025
Merged
Fixes #660: Improve typing/logic for options in decode, decode_complete; Improve docs#1045auvipy merged 15 commits intojpadilla:masterfrom
options in decode, decode_complete; Improve docs#1045auvipy merged 15 commits intojpadilla:masterfrom
Conversation
optionsoptions in decode, decode_complete
pachewise
commented
Mar 3, 2025
auvipy
reviewed
Mar 4, 2025
Collaborator
auvipy
left a comment
There was a problem hiding this comment.
ping me when it is ready for review
Contributor
Author
|
@auvipy this should be ready to review. Note that I changed the documentation to use docstrings/autodoc so that the docs don't get stale (I saw a few cases where that happened). Also added more docs where needed; let me know if you'd rather me separate that into another PR. I still need an answer on whether we want to support the |
pachewise
commented
Mar 4, 2025
options in decode, decode_complete options in decode, decode_complete; Improve docs
auvipy
requested changes
Mar 5, 2025
Collaborator
auvipy
left a comment
There was a problem hiding this comment.
can you please fix the merge conflicts?
auvipy
approved these changes
Mar 5, 2025
ryantqiu
pushed a commit
to snorkel-marlin-repos/jpadilla_pyjwt_pr_1045_453604b5-e4bf-4547-a21d-54a8ff772438
that referenced
this pull request
Oct 2, 2025
…lete; Improve docs Original PR #1045 by pachewise Original: jpadilla/pyjwt#1045
ryantqiu
added a commit
to snorkel-marlin-repos/jpadilla_pyjwt_pr_1045_453604b5-e4bf-4547-a21d-54a8ff772438
that referenced
this pull request
Oct 2, 2025
… in decode, decode_complete; Improve docs Merged from original PR #1045 Original: jpadilla/pyjwt#1045
Basically trying to remove "Unknown" or "partially unknown" pylance issues. Mostly with
options, but there were a few simple other fixes (kwargs, segments, etc). This showed some minor bugs and a few code smells (passing too many args toapi_jws.decode_complete, for example).PyJWT()is used as a singleton. Do we want to keep theoptionsparam in that case? Wondering because codecov is warning that we don't have a test foroptions is not Nonecase.