From bd0374e7c7808b730b56faebab3db28146957dd5 Mon Sep 17 00:00:00 2001 From: Backend IM Bot Date: Sat, 29 Mar 2025 13:40:06 -0500 Subject: [PATCH] Add GET endpoint for /lulu --- endpoints/lulu.get.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/endpoints/lulu.get.py b/endpoints/lulu.get.py index e69de29..2bc710b 100644 --- a/endpoints/lulu.get.py +++ b/endpoints/lulu.get.py @@ -0,0 +1,10 @@ +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 \ No newline at end of file