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

Class Edge

demo/client/client.py:18–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16 self.properties[args[i]] = args[i+1]
17
18class Edge(object):
19 """
20 """
21 def __init__(self, relation, *args):
22 """
23 """
24 self.relation = relation
25 self.properties = {}
26
27 args = list(args)
28 for i in range(0, len(args), 2):
29 self.properties[args[i]] = args[i+1]
30
31class RedisGraph(object):
32 """

Callers 15

connect_nodesMethod · 0.70
populate_graphMethod · 0.50
populate_graphMethod · 0.50
populate_graphMethod · 0.50
populate_graphMethod · 0.50
test_simple_pathMethod · 0.50
test_zero_length_pathMethod · 0.50
test_path_comparisonMethod · 0.50

Calls

no outgoing calls

Tested by 15

populate_graphMethod · 0.40
populate_graphMethod · 0.40
populate_graphMethod · 0.40
populate_graphMethod · 0.40
test_simple_pathMethod · 0.40
test_zero_length_pathMethod · 0.40
test_path_comparisonMethod · 0.40
populate_graphMethod · 0.40