# Entity: User from fastapi import APIRouter, Depends, status from sqlalchemy.orm import Session from core.database import get_db from models.user import User from schemas.user import UserSchema from helpers.user_helpers import logout_user router = APIRouter() @router.post("/logouts", status_code=200, response_model=UserSchema) async def logout( db: Session = Depends(get_db), current_user: User = Depends(get_current_active_user) ): return logout_user(db, current_user)