(self, args, yaml_dumper=None)
| 153 | |
| 154 | class StreamedYAMLFormatter(Formatter): |
| 155 | def __init__(self, args, yaml_dumper=None): |
| 156 | super(StreamedYAMLFormatter, self).__init__(args) |
| 157 | self._yaml_dumper = yaml_dumper |
| 158 | if yaml_dumper is None: |
| 159 | self._yaml_dumper = YAMLDumper() |
| 160 | |
| 161 | def __call__(self, command_name, response, stream=None): |
| 162 | if stream is None: |
nothing calls this directly
no test coverage detected