File size: 268 Bytes
9002555
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from fastapi import Request
from fastapi.responses import JSONResponse
from fastapi.routing import APIRouter

router = APIRouter(tags=["Health"])


@router.get("/_health")
async def health(request: Request):
    return JSONResponse(dict(status="OK"), status_code=200)