Commit b647efa
committed
fix(types): resolve mypy 1.19.1 errors in valkey_storage
- Remove explicit variable annotations using unfollowed glide types
(VectorFieldAttributesHnsw | VectorFieldAttributesFlat, list[Field])
which triggered [no-any-unimported] errors on lines 533 and 550
- Remove unused Field import
- Remove two unused type: ignore[arg-type] comments on hset() calls
that mypy 1.19.1 no longer requires (glide stub now accepts
dict[str, str | bytes] directly)1 parent 444e900 commit b647efa
1 file changed
Lines changed: 3 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
| |||
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
533 | | - | |
534 | 532 | | |
535 | 533 | | |
536 | 534 | | |
| |||
547 | 545 | | |
548 | 546 | | |
549 | 547 | | |
550 | | - | |
| 548 | + | |
551 | 549 | | |
552 | 550 | | |
553 | 551 | | |
| |||
690 | 688 | | |
691 | 689 | | |
692 | 690 | | |
693 | | - | |
| 691 | + | |
694 | 692 | | |
695 | 693 | | |
696 | 694 | | |
| |||
846 | 844 | | |
847 | 845 | | |
848 | 846 | | |
849 | | - | |
| 847 | + | |
850 | 848 | | |
851 | 849 | | |
852 | 850 | | |
| |||
0 commit comments