MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / __init__

Method __init__

tests/flow/test_path_algorithms.py:10–15  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

8
9class testAllShortestPaths():
10 def __init__(self):
11 self.env = Env(decodeResponses=True)
12 redis_con = self.env.getConnection()
13 self.graph = Graph(redis_con, "path_algos")
14 self.populate_graph()
15 self.init()
16
17 def populate_graph(self):
18 create_node_exact_match_index(self.graph, 'L', 'v', sync=True)

Callers

nothing calls this directly

Calls 3

populate_graphMethod · 0.95
initMethod · 0.95
GraphClass · 0.85

Tested by

no test coverage detected