RedisGraph / redisgraph-py

RedisGraph python client
https://redisgraph.io
BSD 3-Clause "New" or "Revised" License
189 stars 49 forks source link

Mutating properties dictionary after node creation causes problems when they all point to the same object #107

Closed isidentical closed 3 years ago

isidentical commented 3 years ago
from redisgraph import Graph, Node, Edge

graph = Graph("world", None)
node1 = Node("foo")
node2 = Node("bar")
node1.properties["x"] = "y"
print(node2.properties)