Get image worker statistics.
()
| 260 | |
| 261 | @app.get("/api/image/stats") |
| 262 | async def image_stats(): |
| 263 | """Get image worker statistics.""" |
| 264 | try: |
| 265 | client = await get_dirty_client_async() |
| 266 | result = await client.execute_async(IMAGE_WORKER, "stats") |
| 267 | return result |
| 268 | except DirtyError as e: |
| 269 | raise HTTPException(status_code=500, detail=str(e)) |
| 270 | |
| 271 | |
| 272 | # ============================================================================ |
nothing calls this directly
no test coverage detected