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

Method has_checkpoint

datastudio/datasets/data_loader.py:406–410  ·  view source on GitHub ↗

Check if this dataloader has checkpoint tracking enabled and has progress.

(self)

Source from the content-addressed store, hash-verified

404 return False
405
406 def has_checkpoint(self) -> bool:
407 """Check if this dataloader has checkpoint tracking enabled and has progress."""
408 if self.checkpoint_manager:
409 return self.checkpoint_manager.get_progress(self.name) is not None
410 return False
411
412 def is_empty(self) -> bool:
413 """Check if there are no items to process."""

Callers 1

_run_pipelineMethod · 0.80

Calls 1

get_progressMethod · 0.80

Tested by

no test coverage detected