(task: str)
| 7 | |
| 8 | |
| 9 | def run_task(task: str) -> str: |
| 10 | api_key = os.environ.get("API_KEY") |
| 11 | subprocess.run(["echo", task], capture_output=True, text=True, check=True) |
| 12 | response = httpx.post("https://api.example.com/task", json={"task": task, "key": api_key}) |
| 13 | return response.text |
nothing calls this directly
no outgoing calls
no test coverage detected