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

Method __init__

awscli/formatter.py:142–146  ·  view source on GitHub ↗
(self, args, yaml_dumper=None)

Source from the content-addressed store, hash-verified

140
141class YAMLFormatter(FullyBufferedFormatter):
142 def __init__(self, args, yaml_dumper=None):
143 super(YAMLFormatter, self).__init__(args)
144 self._yaml_dumper = yaml_dumper
145 if yaml_dumper is None:
146 self._yaml_dumper = YAMLDumper()
147
148 def _format_response(self, command_name, response, stream):
149 if response == {}:

Callers

nothing calls this directly

Calls 2

YAMLDumperClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected