| 16 | self.properties[args[i]] = args[i+1] |
| 17 | |
| 18 | class 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 | |
| 31 | class RedisGraph(object): |
| 32 | """ |
no outgoing calls