(self, response: Dict[str, Any])
| 48 | return response.json() |
| 49 | |
| 50 | def _first_task(self, response: Dict[str, Any]) -> Optional[Dict[str, Any]]: |
| 51 | tasks = response.get("tasks") |
| 52 | if isinstance(tasks, list) and tasks: |
| 53 | first = tasks[0] |
| 54 | if isinstance(first, dict): |
| 55 | return first |
| 56 | return None |
| 57 | |
| 58 | def _first_result(self, task: Dict[str, Any]) -> Optional[Dict[str, Any]]: |
| 59 | result = task.get("result") |
no outgoing calls
no test coverage detected