(report_path: Path)
| 1985 | |
| 1986 | def _obsidian_note_link(report_path: Path) -> str: |
| 1987 | year_dir = report_path.parent.parent |
| 1988 | try: |
| 1989 | relative = report_path.relative_to(year_dir).with_suffix("") |
| 1990 | except ValueError: |
| 1991 | relative = report_path.with_suffix("") |
| 1992 | return str(relative).replace(os.sep, "/") |
| 1993 | |
| 1994 | |
| 1995 | def _daily_note_category(paper: Dict[str, Any], report_payload: Dict[str, Any]) -> str: |
| 1996 | values: List[str] = [] |