MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / __getitem__

Method __getitem__

llama_cpp/llama_cache.py:35–36  ·  view source on GitHub ↗
(self, key: Sequence[int])

Source from the content-addressed store, hash-verified

33
34 @abstractmethod
35 def __getitem__(self, key: Sequence[int]) -> "llama_cpp.llama.LlamaState":
36 raise NotImplementedError
37
38 @abstractmethod
39 def __contains__(self, key: Sequence[int]) -> bool:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected