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

Method _decide_next_step_name

awscli/customizations/wizard/core.py:100–108  ·  view source on GitHub ↗
(self, next_step)

Source from the content-addressed store, hash-verified

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):
102 # If an explicit step name is provided, we don't need to do
103 # anything further.
104 return next_step
105 if 'switch' in next_step:
106 varname = next_step['switch']
107 value = self._parameters.get(varname)
108 return next_step[value]
109
110
111class BaseStep:

Callers 1

_run_plan_stepMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected