(request: Request, exc: ARTError)
| 325 | # Add exception handler for ARTError |
| 326 | @app.exception_handler(ARTError) |
| 327 | async def art_error_handler(request: Request, exc: ARTError): |
| 328 | return JSONResponse(status_code=exc.status_code, content={"detail": exc.detail}) |
| 329 | |
| 330 | app.get("/healthcheck")(lambda: {"status": "ok"}) |
| 331 | app.post("/close")(backend.close) |
nothing calls this directly
no outgoing calls
no test coverage detected