MCPcopy Create free account
hub / github.com/DragonisCV/RAM / __next__

Method __next__

ram/data/utils/prefetch_dataloader.py:30–34  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

28 self.queue.put(None)
29
30 def __next__(self):
31 next_item = self.queue.get()
32 if next_item is None:
33 raise StopIteration
34 return next_item
35
36 def __iter__(self):
37 return self

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected