(self)
| 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: |