MCPcopy Create free account
hub / github.com/SunOner/sunone_aimbot / api_export_stream

Function api_export_stream

helper_api.py:1282–1287  ·  view source on GitHub ↗
(payload: ExportRequest)

Source from the content-addressed store, hash-verified

1280
1281@app.post("/api/export/stream")
1282def api_export_stream(payload: ExportRequest):
1283 model_path = _export_model_path(payload.model_name)
1284 return StreamingResponse(
1285 _stream_export(payload, model_path),
1286 media_type="text/plain; charset=utf-8",
1287 )
1288
1289
1290@app.post("/api/train")

Callers

nothing calls this directly

Calls 2

_export_model_pathFunction · 0.85
_stream_exportFunction · 0.85

Tested by

no test coverage detected