(process: asyncio.subprocess.Process)
| 54 | |
| 55 | |
| 56 | async def _stop_process(process: asyncio.subprocess.Process) -> None: |
| 57 | if process.returncode is not None: |
| 58 | return |
| 59 | process.terminate() |
| 60 | try: |
| 61 | await asyncio.wait_for(process.wait(), timeout=5) |
| 62 | except TimeoutError: |
| 63 | process.kill() |
| 64 | await process.wait() |
| 65 | |
| 66 | |
| 67 | async def _requests(base_url: str) -> list[dict[str, Any]]: |
no test coverage detected
searching dependent graphs…