(self, args, yaml_dumper=None)
| 140 | |
| 141 | class 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 == {}: |
nothing calls this directly
no test coverage detected