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

Class Node

demo/client/client.py:4–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2from prettytable import PrettyTable
3
4class Node(object):
5 """
6 """
7 def __init__(self, node_id, *args, **kwargs):
8 """
9 """
10 self.id = node_id
11 self.label = kwargs["label"]
12 self.properties = {}
13
14 args = list(args)
15 for i in range(0, len(args), 2):
16 self.properties[args[i]] = args[i+1]
17
18class Edge(object):
19 """

Callers 15

create_nodeMethod · 0.70
populate_graphMethod · 0.50
populate_graphMethod · 0.50
test03_filter_resultsMethod · 0.50
test07_optional_matchMethod · 0.50
test08_filteringMethod · 0.50
test11_skip_limitMethod · 0.50
test12_order_byMethod · 0.50

Calls

no outgoing calls

Tested by 15

populate_graphMethod · 0.40
populate_graphMethod · 0.40
test03_filter_resultsMethod · 0.40
test07_optional_matchMethod · 0.40
test08_filteringMethod · 0.40
test11_skip_limitMethod · 0.40
test12_order_byMethod · 0.40