(model_name: str)
| 926 | |
| 927 | |
| 928 | def _export_model_path(model_name: str) -> Path: |
| 929 | model_path = MODELS_DIR / model_name |
| 930 | if not model_path.exists(): |
| 931 | raise HTTPException(status_code=400, detail=f"Model not found: {model_name}") |
| 932 | return model_path |
| 933 | |
| 934 | |
| 935 | def _build_export_script(model_path: Path, params: dict[str, Any]) -> str: |
no outgoing calls
no test coverage detected