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

Method __init__

awscli/help.py:377–398  ·  view source on GitHub ↗
(self, session, obj, command_table, arg_table)

Source from the content-addressed store, hash-verified

375 """
376
377 def __init__(self, session, obj, command_table, arg_table):
378 self.session = session
379 self.obj = obj
380 if command_table is None:
381 command_table = {}
382 self.command_table = command_table
383 if arg_table is None:
384 arg_table = {}
385 self.arg_table = arg_table
386 self._subcommand_table = {}
387 self._related_items = []
388 self.doc = ReSTDocument(target='man')
389 self._base_remote_url = _DEFAULT_BASE_REMOTE_URL
390
391 try:
392 self._help_output_format = self.session.get_config_variable(
393 "cli_help_output"
394 )
395 except ProfileNotFound:
396 self._help_output_format = None
397
398 self.renderer = get_renderer(self._help_output_format)
399
400 @property
401 def event_class(self):

Callers 6

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 3

ReSTDocumentClass · 0.90
get_rendererFunction · 0.85
get_config_variableMethod · 0.45

Tested by

no test coverage detected