MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / __getitem__

Method __getitem__

utils/sam_utils/amg.py:38–39  ·  view source on GitHub ↗
(self, key: str)

Source from the content-addressed store, hash-verified

36 del self._stats[key]
37
38 def __getitem__(self, key: str) -> Any:
39 return self._stats[key]
40
41 def items(self) -> ItemsView[str, Any]:
42 return self._stats.items()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected