(self)
| 543 | return _collect_logs(self.root) |
| 544 | |
| 545 | def _default_path(self) -> Optional[str]: |
| 546 | if self.initial_path: |
| 547 | return str(self.initial_path) |
| 548 | logs = self.list_logs() |
| 549 | if not logs: |
| 550 | return None |
| 551 | return logs[0].get("path") |
| 552 | |
| 553 | def _get_or_create(self, path: Path) -> LogSession: |
| 554 | key = str(path) |