push first sql setup try

This commit is contained in:
Georg-Stahn
2023-11-20 17:39:21 +01:00
committed by Luis-Hebendanz
parent 3167473bca
commit 0ad48e0de6
4 changed files with 70 additions and 2 deletions

View File

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