MCPcopy Create free account
hub / github.com/aws/aws-cli / _run_plan_step

Method _run_plan_step

awscli/customizations/wizard/core.py:84–98  ·  view source on GitHub ↗
(self, step)

Source from the content-addressed store, hash-verified

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):

Callers 1

planMethod · 0.95

Calls 2

run_stepMethod · 0.45

Tested by

no test coverage detected