INNER CODE UNIT · Python

unmount_lab_report_agent_team

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

def unmount_lab_report_agent_team(team_id: str) -> dict[str, object]:
    _require_local_skill_installer_enabled()
    from app.services.lab_report_agent_team_service import set_lab_report_agent_team_mounted

    try:
        return set_lab_report_agent_team_mounted(team_id, False)
    except FileNotFoundError as exc:
        raise HTTPException(status_code=404, detail=str(exc)) from exc


@app.delete("/api/lab/report-agent-teams/{team_id}")
def delete_lab_report_agent_team(team_id: str) -> dict[str, object]:
    _require_local_skill_installer_enabled()
    from app.services.lab_report_agent_team_service import delete_lab_report_agent_team

    try:
        return delete_lab_report_agent_team(team_id)
    except FileNotFoundError as exc:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…