Commit 540b484
committed
fix(session): remove redundant Any cast flagged by pyright
t is typed Any, so t.model_fields["method"].default is already Any; the
cast(Any, ...) was redundant and tripped pyright's reportUnnecessaryCast, which
fails the pre-commit hook. Drop the cast and the now-unused import.1 parent 42d5702 commit 540b484
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| |||
0 commit comments