9 lines
251 B
Python
9 lines
251 B
Python
from fastapi import APIRouter, Depends, HTTPException, status
|
|
from typing import Dict
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/chy", status_code=200, response_model=Dict[str, str])
|
|
async def get_yolo():
|
|
"""Return yolo"""
|
|
return {"message": "yolo"} |