MCPcopy Create free account
hub / github.com/Open-Bee/DataStudio / get_progress

Method get_progress

datastudio/utils/checkpoint.py:157–166  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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).

Calls 1

getMethod · 0.45