INNER CODE UNIT · Python

health_check

Minituff/nautical-backup · app/api/main.py:58

async def health_check():
    return {"status": "healthy"}


@app.get("/auth")
def auth(username: Annotated[str, Depends(authorize)]):
    return {"username": username}


if __name__ == "__main__":
    uvicorn.run("main:app", host="0.0.0.0", port=8069, reload=True, log_level="debug")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…