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

Method populate_graph

tests/flow/test_index_updates.py:31–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

29 'stringval': ''.join(random.choice(string.ascii_lowercase) for x in range(6))})
30
31 def populate_graph(self):
32 global node_ctr
33 for i in range(1000):
34 node = self.new_node()
35 redis_graph.add_node(node)
36 node_ctr += 1
37 redis_graph.commit()
38
39 def build_indices(self):
40 for field in fields:

Callers 1

__init__Method · 0.95

Calls 1

new_nodeMethod · 0.95

Tested by

no test coverage detected