Repository navigation
Commit fa17d9e
fix(worker): type from_buffers buffers as Any to satisfy both pyarrow-stub versions
The prior cast to list[Buffer] passed local mypy but failed CI, whose pyarrow
stubs type the parameter as list[Buffer | None]. list is invariant, so no single
concrete annotation satisfies both signatures. Type the buffers list as Any,
which is assignable to either. Verified mypy vgi/ + ruff clean locally.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 443cebc commit fa17d9e
1 file changed
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
779 | | - | |
780 | | - | |
781 | | - | |
782 | | - | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
783 | 784 | | |
784 | 785 | | |
785 | 786 | | |
| |||
0 commit comments