Parse list of steps
(self, steps: List[Dict[str, Any]])
| 238 | return {"type": "increment", "variable": step_data} |
| 239 | |
| 240 | def _parse_steps_list(self, steps: List[Dict[str, Any]]) -> List[Dict[str, Any]]: |
| 241 | """Parse list of steps""" |
| 242 | parsed_steps = [] |
| 243 | for step in steps: |
| 244 | parsed_step = self._parse_step(step) |
| 245 | if parsed_step: |
| 246 | if isinstance(parsed_step, list): |
| 247 | parsed_steps.extend(parsed_step) |
| 248 | else: |
| 249 | parsed_steps.append(parsed_step) |
| 250 | return parsed_steps |
| 251 | |
| 252 | def _expand_template(self, text: str) -> str: |
| 253 | """Expand template variables""" |
no test coverage detected