Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cdgriffith/Box
/ Index
Class
Index
test/test_box_list.py:285–292 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
283
events = []
284
285
class
Index:
286
def
__init__(self, name, value):
287
self.name = name
288
self.value = value
289
290
def
__index__(self):
291
events.append(self.name)
292
return
self.value
293
294
class
Replacements:
295
def
__iter__(self):
Callers
1
assign
Method · 0.85
Calls
no outgoing calls
Tested by
1
assign
Method · 0.68