Well, I started to work with Py2neo and Neo4j in order to initiate a connection between them and already installed both libraries correctly without no errors. When I decide to start training by the following commands:
from py2neo import Graph
graph = Graph("bolt://localhost:7687", user="neo4j", password="mypass")
tx = graph.begin()
for name in ["Mohammad", "Ahmad", "Dad", "Mom"]:
tx.append("CREATE (person:Person {name:{name}}) RETURN person", name=name)
Mohammad, Ahmad, Dad, Mom = [result.one for result in tx.commit()]
a errors show up:
> AttributeError: 'Transaction' object has no attribute 'append'
is there any solution to eliminate the error, does append attribute expired in py2neo and replaced by a new one?