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

Method is_empty

datastudio/datasets/data_loader.py:412–414  ·  view source on GitHub ↗

Check if there are no items to process.

(self)

Source from the content-addressed store, hash-verified

410 return False
411
412 def is_empty(self) -> bool:
413 """Check if there are no items to process."""
414 return len(self.datas) == 0
415
416 def __call__(self):
417 if not self.datas:

Callers 4

test_is_empty_trueMethod · 0.95
_run_cache_imagesMethod · 0.80
_run_pipelineMethod · 0.80
test_is_empty_falseMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_is_empty_trueMethod · 0.76
test_is_empty_falseMethod · 0.64