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

Method get

python/pyfory/lib/collection.py:93–94  ·  view source on GitHub ↗
(self, key, default=None)

Source from the content-addressed store, hash-verified

91 self.data[IdentityWeakRef(key, self._remove)] = value
92
93 def get(self, key, default=None):
94 return self.data.get(IdentityWeakRef(key), default)
95
96 def __contains__(self, key):
97 try:

Callers

nothing calls this directly

Calls 2

IdentityWeakRefClass · 0.85
getMethod · 0.65

Tested by

no test coverage detected