Parse task (stateless)
(self, step_data: Dict[str, Any])
| 178 | } |
| 179 | |
| 180 | def _parse_task_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 181 | """Parse task (stateless)""" |
| 182 | return { |
| 183 | "type": "task", |
| 184 | "name": step_data.get("name", "unnamed_task"), |
| 185 | "instruction": self._expand_template(step_data.get("instruction", "")), |
| 186 | "output_file": step_data.get("output_file"), |
| 187 | } |
| 188 | |
| 189 | def _parse_for_each_step(self, step_data: Dict[str, Any]) -> Dict[str, Any]: |
| 190 | """Parse loop step""" |
no test coverage detected