from typing import List from fastapi import APIRouter, status from schemas.car import CarSchema from helpers.car_helpers import get_asian_cars router = APIRouter() @router.get("/asian", status_code=200, response_model=List[CarSchema]) async def get_asian_cars_list(): asian_cars = get_asian_cars() return asian_cars