MCPcopy Create free account
hub / github.com/alibaba/GraphScope / _get_succ_attr_cache

Method _get_succ_attr_cache

python/graphscope/nx/classes/cache.py:378–384  ·  view source on GitHub ↗
(self, gid)

Source from the content-addressed store, hash-verified

376 return gid, pred_cache
377
378 def _get_succ_attr_cache(self, gid):
379 op = dag_utils.report_graph(self._graph, types_pb2.SUCC_ATTR_BY_GID, gid=gid)
380 archive = op.eval()
381 gid = archive.get_uint64()
382 fp = io.BytesIO(archive.get_bytes())
383 succ_attr_cache = msgpack.load(fp, use_list=False)
384 return gid, succ_attr_cache
385
386 def _get_pred_attr_cache(self, gid):
387 op = dag_utils.report_graph(self._graph, types_pb2.PRED_ATTR_BY_GID, gid=gid)

Callers

nothing calls this directly

Calls 4

get_uint64Method · 0.80
evalMethod · 0.45
get_bytesMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected