(self, captured: Any, strip: bool = False, **kwargs)
| 289 | self.__record_list: list[Record] = list() |
| 290 | |
| 291 | def capture(self, captured: Any, strip: bool = False, **kwargs): |
| 292 | record_list = self.__record_list |
| 293 | record_path = self.__path_template.build_path_by_data( |
| 294 | data=captured, index=len(record_list) |
| 295 | ) |
| 296 | record = Record( |
| 297 | captured=captured, record_path=record_path, strip=strip, **kwargs |
| 298 | ) |
| 299 | self.__record_list.append(record) |
| 300 | |
| 301 | def capture_list(self, captured_list: list[Any], strip: bool = False): |
| 302 | for captured in captured_list: |
no test coverage detected