MCPcopy Create free account
hub / github.com/codefuse-ai/codefuse-devops-eval / __next__

Method __next__

src/datasets/base_dataset.py:31–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 return self
30
31 def __next__(self):
32 if self.current_index < len(self.datas):
33 current_item = self.datas[self.current_index]
34 self.current_index += 1
35 return current_item
36 else:
37 raise StopIteration
38
39 def __len__(self):
40 return len(self.datas)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected