(
self,
heading: str | None = None,
content: str | None = None,
**kwargs,
)
| 182 | ) |
| 183 | |
| 184 | def stream( |
| 185 | self, |
| 186 | heading: str | None = None, |
| 187 | content: str | None = None, |
| 188 | **kwargs, |
| 189 | ): |
| 190 | if heading is not None: |
| 191 | self.update(heading=self.heading + heading) |
| 192 | if content is not None: |
| 193 | self.update(content=self.content + content) |
| 194 | |
| 195 | for k, v in kwargs.items(): |
| 196 | prev = self.kvps.get(k, "") if self.kvps else "" |
| 197 | self.update(**{k: prev + v}) |
| 198 | |
| 199 | def output(self): |
| 200 | return { |
no test coverage detected