# Entity: Person from fastapi import APIRouter, Depends, status from sqlalchemy.orm import Session from typing import List from core.database import get_db from models.person import Person from schemas.person import PersonSchema from helpers.person_helpers import get_young_people router = APIRouter() @router.get("/young_people", status_code=200, response_model=List[PersonSchema]) async def get_young_people( db: Session = Depends(get_db) ): people = get_young_people(db) return people