MCPcopy Create free account
hub / github.com/apache/fory / __getitem__

Method __getitem__

python/pyfory/lib/collection.py:77–78  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

75 del self.data[IdentityWeakRef(key)]
76
77 def __getitem__(self, key):
78 return self.data[IdentityWeakRef(key)]
79
80 def __len__(self):
81 if self._dirty_len and self._pending_removals:

Callers

nothing calls this directly

Calls 1

IdentityWeakRefClass · 0.85

Tested by

no test coverage detected