Skip to content

fix: resolve pyright errors in pat_handler and tests#360

Merged
entrius merged 1 commit intotestfrom
fix/pat-handler-pyright
Apr 10, 2026
Merged

fix: resolve pyright errors in pat_handler and tests#360
entrius merged 1 commit intotestfrom
fix/pat-handler-pyright

Conversation

@anderdc
Copy link
Copy Markdown
Collaborator

@anderdc anderdc commented Apr 10, 2026

  • Use or '0' fallback for github_id in pat_handler.save_pat call to satisfy pyright's str | None check
  • Use or {} fallback on get_pat_by_uid() calls in tests to fix reportOptionalSubscript errors

@entrius entrius merged commit 1b7f625 into test Apr 10, 2026
4 checks passed
@entrius entrius deleted the fix/pat-handler-pyright branch April 10, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants