10 lines
280 B
Python
10 lines
280 B
Python
from fastapi import APIRouter, status
|
|
from typing import List
|
|
from helpers.car_helpers import get_asian_cars
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/lulu", status_code=200, response_model=List[str])
|
|
async def list_asian_cars():
|
|
asian_cars = get_asian_cars()
|
|
return asian_cars |