7590247f48
CI / lint (push) Successful in 9s
CI / lint (pull_request) Successful in 6s
CI / test (push) Successful in 4s
CI / test (pull_request) Successful in 4s
CI / notify-on-failure (push) Successful in 2s
CI / notify-on-failure (pull_request) Successful in 3s
10 lines
195 B
Python
10 lines
195 B
Python
"""Health check endpoint."""
|
|
from fastapi import APIRouter
|
|
|
|
router = APIRouter()
|
|
|
|
@router.get("/api/healthz")
|
|
async def healthz():
|
|
"""Lightweight health check."""
|
|
return {"status": "ok"}
|