(self, camera_id: str, rgb: Any)
| 1371 | return cls(writers) |
| 1372 | |
| 1373 | def append(self, camera_id: str, rgb: Any) -> None: |
| 1374 | writer = self._writers.get(camera_id) |
| 1375 | if writer is None: |
| 1376 | raise KeyError(f"No video writer for camera: {camera_id}") |
| 1377 | writer.append_data(rgb) |
| 1378 | |
| 1379 | def close(self) -> None: |
| 1380 | errors: list[BaseException] = [] |
no test coverage detected