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

Method __init__

tests/functional/docs/test_examples.py:250–261  ·  view source on GitHub ↗
(self, driver)

Source from the content-addressed store, hash-verified

248
249class CommandValidator:
250 def __init__(self, driver):
251 self.driver = driver
252 help_command = self.driver.create_help_command()
253 self._service_command_table = help_command.command_table
254 self._global_arg_table = help_command.arg_table
255 self._main_parser = MainArgParser(
256 self._service_command_table,
257 driver.session.user_agent(),
258 'Some description',
259 self._global_arg_table,
260 prog="aws",
261 )
262
263 def validate_cli_command(self, command, filename):
264 """

Callers 1

__init__Method · 0.45

Calls 3

MainArgParserClass · 0.90
create_help_commandMethod · 0.45
user_agentMethod · 0.45

Tested by

no test coverage detected