INNER CODE UNIT · Python

lab_feature_trial_catalog

wzn1118/AsteriaAnalyst · backend/app/main.py:451

def lab_feature_trial_catalog() -> dict[str, object]:
    from app.services.lab_feature_trial_service import list_lab_feature_trial_catalog

    return list_lab_feature_trial_catalog()


@app.post("/api/lab/feature-trials/run")
def run_lab_feature_trial_endpoint(payload: LabFeatureTrialRunRequest) -> dict[str, object]:
    _require_local_skill_installer_enabled()
    from app.services.lab_feature_trial_service import run_lab_feature_trial

    try:
        return run_lab_feature_trial(payload)
    except FileNotFoundError as exc:
        raise HTTPException(status_code=404, detail=str(exc)) from exc
    except ValueError as exc:
        raise HTTPException(status_code=400, detail=str(exc)) from exc

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…