MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / __getitem__

Method __getitem__

tests/test_llm_parser.py:660–663  ·  view source on GitHub ↗
(self, item)

Source from the content-addressed store, hash-verified

658 return self
659
660 def __getitem__(self, item):
661 if isinstance(item, slice):
662 return self.values[item]
663 return self.values[item]
664
665 class FakeTokenizer:
666 pad_token_id = 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected