Commit f80ee6d
committed
fix: apply code review suggestions from PR #98
- Use model_dump_json(indent=2) instead of model_dump() + json.dumps()
to correctly serialize Pydantic models with non-standard types
- Split OSError handling in _import_project into FileNotFoundError
and generic OSError to avoid broken error messages from wrapping
OSError in FileNotFoundError1 parent 6ee1418 commit f80ee6d
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
438 | 438 | | |
439 | 439 | | |
440 | 440 | | |
441 | | - | |
442 | | - | |
443 | 441 | | |
444 | 442 | | |
445 | 443 | | |
446 | 444 | | |
447 | 445 | | |
448 | | - | |
| 446 | + | |
449 | 447 | | |
450 | 448 | | |
451 | 449 | | |
| |||
455 | 453 | | |
456 | 454 | | |
457 | 455 | | |
| 456 | + | |
| 457 | + | |
458 | 458 | | |
459 | | - | |
| 459 | + | |
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
| |||
0 commit comments