Commit 947296b
authored
Fix type annotation errors in llm_generator.py (#74)
Added explicit list[DatasetCase] type annotations to the cases variable in both LlamaDatasetGenerator.generate() and OpenAIDatasetGenerator.generate() methods to satisfy Mypy type checking.
Closes #671 parent 8fce886 commit 947296b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | | - | |
| 144 | + | |
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| |||
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | | - | |
| 291 | + | |
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
| |||
0 commit comments