Spaces:
Sleeping
Sleeping
| from python.helpers.api import ApiHandler, Request, Response | |
| class Health(ApiHandler): | |
| def requires_auth(cls) -> bool: | |
| return False | |
| def requires_csrf(cls) -> bool: | |
| return False | |
| def get_methods(cls) -> list[str]: | |
| return ["GET"] | |
| async def process(self, input: dict, request: Request) -> dict: | |
| return {"status": "ok", "message": "Service is running"} | |