MCPcopy
hub / github.com/aws/aws-cli / __call__

Method __call__

awscli/clidriver.py:733–740  ·  view source on GitHub ↗
(self, args, parsed_globals)

Source from the content-addressed store, hash-verified

731 return self._service_model
732
733 def __call__(self, args, parsed_globals):
734 # Once we know we're trying to call a service for this operation
735 # we can go ahead and create the parser for it. We
736 # can also grab the Service object from botocore.
737 service_parser = self.create_parser()
738 parsed_args, remaining = service_parser.parse_known_args(args)
739 command_table = self._get_command_table()
740 return command_table[parsed_args.operation](remaining, parsed_globals)
741
742 def _create_command_table(self):
743 command_table = OrderedDict()

Callers

nothing calls this directly

Calls 3

create_parserMethod · 0.95
_get_command_tableMethod · 0.95
parse_known_argsMethod · 0.45

Tested by

no test coverage detected