Repository navigation
Commit 2390f96
fix: Narrow compress type before compress_dataset call for ty
The compression_kwarg None/False validation was in a separate if-block
from the compress_dataset call, so ty couldn't narrow away compress's
None case at the call site.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent b932416 commit 2390f96
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 47 | | |
51 | 48 | | |
| 49 | + | |
| 50 | + | |
52 | 51 | | |
53 | 52 | | |
54 | 53 | | |
| |||
0 commit comments