Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/graph-learn
/ get
Method
get
graphlearn/python/data/state.py:30–31 ·
view source on GitHub ↗
(self, key)
Source
from the content-addressed store, hash-verified
28
self._values[key] = value
29
30
def
get(self, key):
31
return
self._values.get(key, 0)
32
33
def
inc(self, key, delta=1):
34
with
self._value_lock:
Callers
15
__init__
Method · 0.45
init
Method · 0.45
deploy_in_server_mode
Method · 0.45
init_vineyard
Method · 0.45
get_node_decoder
Method · 0.45
get_edge_decoder
Method · 0.45
is_directed
Method · 0.45
gen_cluster_info_from_tf_config
Function · 0.45
set_path
Method · 0.45
shuffle
Method · 0.45
where
Method · 0.45
_lookup
Method · 0.45
Calls
no outgoing calls
Tested by
4
test_get_th_data
Method · 0.36
test_node_iterate_from_graph
Method · 0.36
test_node_iterate
Method · 0.36
test_edge_iterate
Method · 0.36