Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FreeformRobotics/OTS
/ __init__
Method
__init__
lib/utils/data/sampler.py:29–30 ·
view source on GitHub ↗
(self, data_source)
Source
from the content-addressed store, hash-verified
27
""
"
28
29
def
__init__(self, data_source):
30
self.data_source = data_source
31
32
def
__iter__(self):
33
return
iter(range(len(self.data_source)))
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected