Commit 443cebc
fix(worker): make _unpack_bool_mask buffers cast robust across pyarrow-stub versions
The `# type: ignore[list-item]` on the from_buffers call is "unused" under some
pyarrow-stub versions (CI) but required under others (local), so `mypy vgi/`
failed on CI. Replace the ignore with a cast of the buffers list, which
type-checks identically regardless of whether the stub signature admits a None
validity buffer. Runtime behavior is unchanged (cast is a no-op).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 014a673 commit 443cebc
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
775 | 775 | | |
776 | 776 | | |
777 | 777 | | |
778 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
779 | 784 | | |
780 | 785 | | |
781 | 786 | | |
| |||
0 commit comments