diff --git a/app/routers/admin.py b/app/routers/admin.py index 3c04f9f..ae79dd4 100644 --- a/app/routers/admin.py +++ b/app/routers/admin.py @@ -5,7 +5,7 @@ Provides admin-specific endpoints for triggering calibration, toggling AI generation, and resetting normalization. """ -from typing import Dict, Optional +from typing import Any, Dict, Optional from fastapi import APIRouter, Depends, Header, HTTPException, status from sqlalchemy import select @@ -61,7 +61,7 @@ async def admin_trigger_calibration( tryout_id: str, db: AsyncSession = Depends(get_db), website_id: int = Depends(get_admin_website_id), -) -> Dict[str, any]: +) -> Dict[str, Any]: """ Trigger IRT calibration for all items in a tryout. @@ -122,7 +122,7 @@ async def admin_toggle_ai_generation( tryout_id: str, db: AsyncSession = Depends(get_db), website_id: int = Depends(get_admin_website_id), -) -> Dict[str, any]: +) -> Dict[str, Any]: """ Toggle AI generation for a tryout. @@ -176,7 +176,7 @@ async def admin_reset_normalization( tryout_id: str, db: AsyncSession = Depends(get_db), website_id: int = Depends(get_admin_website_id), -) -> Dict[str, any]: +) -> Dict[str, Any]: """ Reset normalization for a tryout.