Get progress info for a file. Args: file_path: Path to the data file. Returns: Progress dict or None if not tracked.
(self, file_path: str)
| 155 | self._save() |
| 156 | |
| 157 | def get_progress(self, file_path: str) -> Optional[Dict]: |
| 158 | """Get progress info for a file. |
| 159 | |
| 160 | Args: |
| 161 | file_path: Path to the data file. |
| 162 | |
| 163 | Returns: |
| 164 | Progress dict or None if not tracked. |
| 165 | """ |
| 166 | return self.checkpoints.get(file_path) |
| 167 | |
| 168 | def clear(self, file_path: Optional[str] = None) -> None: |
| 169 | """Clear checkpoint(s). |