Commit 0a55479
committed
fix: use model_validate to avoid pyright reportArgumentType error
Replace **dict unpacking with model_validate() in the extra fields test.
Pyright cannot narrow dict value types through ** unpacking, causing
false reportArgumentType errors for typed params (task, _meta).1 parent 4029f01 commit 0a55479
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
375 | | - | |
| 375 | + | |
376 | 376 | | |
377 | 377 | | |
378 | 378 | | |
| |||
0 commit comments