generated from Luis/nextjs-python-web-template
push first sql setup try
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user