feat(sandbox): add Python 3 code execution sandbox support
This commit is contained in:
12
sandbox/app/controllers/health_controller.py
Normal file
12
sandbox/app/controllers/health_controller.py
Normal file
@@ -0,0 +1,12 @@
|
||||
"""Health check endpoint"""
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.models import HealthResponse
|
||||
|
||||
router = APIRouter()
|
||||
|
||||
|
||||
@router.get("/health", response_model=HealthResponse)
|
||||
async def health_check():
|
||||
"""Health check endpoint"""
|
||||
return HealthResponse(status="healthy", version="2.0.0")
|
||||
Reference in New Issue
Block a user