(targets: List[str] = Query(...))
| 7 | |
| 8 | @app.get("/start") |
| 9 | async def start(targets: List[str] = Query(...)): |
| 10 | scanner = Scanner(*targets, modules=["httpx"]) |
| 11 | events = [e async for e in scanner.async_start()] |
| 12 | return [e.json() for e in events] |
| 13 | |
| 14 | |
| 15 | @app.get("/ping") |
nothing calls this directly
no test coverage detected
searching dependent graphs…