MCPcopy Create free account
hub / github.com/alibaba/graph-learn / put

Method put

graphlearn/python/data/state.py:26–28  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

24 self._value_lock = threading.Lock()
25
26 def put(self, key, value):
27 with self._value_lock:
28 self._values[key] = value
29
30 def get(self, key):
31 return self._values.get(key, 0)

Callers 15

addFloatAttributesMethod · 0.80
addLongAttributesMethod · 0.80
toJsonMethod · 0.80
parseNodeMethod · 0.80
addParamMethod · 0.80
toJsonMethod · 0.80
linkArrayMethod · 0.80
paramsArrayMethod · 0.80
filterObjMethod · 0.80
parseFromMethod · 0.80
dumpToMethod · 0.80
BuilderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected