Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FusionBrainLab/SONAR-LLM
/ __len__
Method
__len__
sonar_encoding.py:41–42 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
39
self.texts = text_list
40
41
def
__len__(self):
42
return
len(self.texts)
43
44
def
__getitem__(self, idx):
45
return
self.texts[idx]
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected