Files
service-aware-frontend/pkgs/clan-cli/clan_cli/webui/routers/health.py
Luis-Hebendanz d1a3a5381a
Some checks failed
checks-impure / test (pull_request) Successful in 30s
checks / test (pull_request) Failing after 3h13m7s
Added create_entity
2023-11-26 20:54:57 +01:00

14 lines
252 B
Python

from fastapi import APIRouter
from ..schemas import Machine, Status
router = APIRouter()
@router.get("/health", include_in_schema=True)
async def health() -> Machine: # str:
return Machine(name="test", status=Status.ONLINE)
# return "OK"