MCPcopy Create free account
hub / github.com/FreedomIntelligence/CMB / __getitem__

Method __getitem__

workers/base.py:352–354  ·  view source on GitHub ↗
(self, index)

Source from the content-addressed store, hash-verified

350
351
352 def __getitem__(self, index):
353 item: dict = self.data[index]
354 return item
355
356 def __len__(self):
357 return len(self.data)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected