Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/clips/pattern
/ __iter__
Method
__iter__
pattern/db/__init__.py:1204–1205 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1202
def
__len__(self):
1203
return
len(list(self.rows()))
1204
def
__iter__(self):
1205
return
iter(self.rows())
1206
def
__getitem__(self, i):
1207
return
self.rows()[i]
1208
Callers
nothing calls this directly
Calls
1
rows
Method · 0.95
Tested by
no test coverage detected