The run detail route built DiffusionTrainingRunDetail(**rec) unguarded, so a valid-JSON-but-wrong-shape record (hand-edited or an older schema) would 500 instead of reading as absent. Catch ValidationError and 404, matching how the list route skips malformed records. |
||
|---|---|---|
| .. | ||
| assets | ||
| auth | ||
| core | ||
| hub | ||
| loggers | ||
| models | ||
| plugins | ||
| requirements | ||
| routes | ||
| state | ||
| storage | ||
| tests | ||
| utils | ||
| __init__.py | ||
| _platform_compat.py | ||
| cloudflare_tunnel.py | ||
| colab.py | ||
| main.py | ||
| run.py | ||
| startup_banner.py | ||