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

Function debug

demo/imdb/imdb_demo.py:24–34  ·  view source on GitHub ↗
(host, port)

Source from the content-addressed store, hash-verified

22 q.query)
23
24def debug(host, port):
25 global redis_con
26 global redis_graph
27 redis_con = redis.Redis(host=host, port=port)
28 redis_graph = Graph(redis_con, imdb_utils.graph_name)
29
30 print("populate_graph")
31 imdb_utils.populate_graph(redis_con, redis_graph)
32
33 print("run_queries")
34 run_queries()
35
36def main(argv):
37 global redis_con

Callers 1

mainFunction · 0.70

Calls 3

GraphClass · 0.90
run_queriesFunction · 0.70
populate_graphMethod · 0.45

Tested by

no test coverage detected