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

Method get_predecessors

python/graphscope/nx/classes/cache.py:106–107  ·  view source on GitHub ↗
(self, n)

Source from the content-addressed store, hash-verified

104
105 @lru_cache(1000000)
106 def get_predecessors(self, n):
107 return get_neighbors(self._graph, n, pred=True)
108
109 @lru_cache(1000000)
110 def get_pred_attr(self, n):

Callers 1

__getitem__Method · 0.80

Calls 1

get_neighborsFunction · 0.85

Tested by

no test coverage detected