Commit 21284ca
committed
Use typed default_factory for SearchState list fields
Align the retrieval-rag SearchState list defaults with the codebase's
Field(default_factory=...) idiom (PR #220 review). Use the typed
default_factory=list[int] rather than a bare default_factory=list, since
the bare form infers list[Unknown] and trips strict pyright's
reportUnknownVariableType on a list[int] field.1 parent a84e6f4 commit 21284ca
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
| |||
185 | 187 | | |
186 | 188 | | |
187 | 189 | | |
188 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
189 | 193 | | |
190 | 194 | | |
191 | | - | |
| 195 | + | |
192 | 196 | | |
193 | 197 | | |
194 | 198 | | |
| |||
0 commit comments