(self, step)
| 82 | step_name = next_step_name |
| 83 | |
| 84 | def _run_plan_step(self, step): |
| 85 | # Running step consists of first fetching any values |
| 86 | # based on what's defined in `values`. |
| 87 | for key, value in step['values'].items(): |
| 88 | step_type = value['type'] |
| 89 | handler = self._step_handlers[step_type] |
| 90 | response = handler.run_step(value, self._parameters) |
| 91 | self._parameters[key] = response |
| 92 | # And next we need to figure out if there's a next |
| 93 | # step we need to resolve. If the key is not defined |
| 94 | # for this step we return None which results in moving |
| 95 | # on to the next sequential step. |
| 96 | if 'next_step' not in step: |
| 97 | return |
| 98 | return self._decide_next_step_name(step['next_step']) |
| 99 | |
| 100 | def _decide_next_step_name(self, next_step): |
| 101 | if isinstance(next_step, str): |
no test coverage detected