(payload: TrainRequest)
| 1310 | |
| 1311 | @app.post("/api/train/stream") |
| 1312 | def api_train_stream(payload: TrainRequest): |
| 1313 | _train_script_and_env(payload) |
| 1314 | return StreamingResponse( |
| 1315 | _stream_train(payload), |
| 1316 | media_type="text/plain; charset=utf-8", |
| 1317 | ) |
| 1318 | |
| 1319 | |
| 1320 | @app.post("/api/tests/run") |
nothing calls this directly
no test coverage detected