MCPcopy Index your code
hub / github.com/aws/aws-cli / run

Method run

awscli/customizations/wizard/app.py:79–87  ·  view source on GitHub ↗
(self, pre_run=None, **kwargs)

Source from the content-addressed store, hash-verified

77 )
78
79 def run(self, pre_run=None, **kwargs):
80 loop = new_event_loop()
81 try:
82 set_event_loop(loop)
83 loop.set_exception_handler(self._handle_exception)
84 f = self.run_async(pre_run=pre_run, set_exception_handler=False)
85 return loop.run_until_complete(f)
86 finally:
87 loop.close()
88
89 def _handle_exception(self, loop, context):
90 self.exit(exception=UnexpectedWizardException(context['exception']))

Callers 1

runMethod · 0.45

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected