MCPcopy Create free account
hub / github.com/FreeformRobotics/OTS / __iter__

Method __iter__

lib/utils/data/sampler.py:32–33  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

30 self.data_source = data_source
31
32 def __iter__(self):
33 return iter(range(len(self.data_source)))
34
35 def __len__(self):
36 return len(self.data_source)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected