Currently production in use versions.
NEO4J==3.2.2
python3.8 py2neo==3.1.2
Now upgrading towards newer version
py2neo==4.2.0
I am facing errors.
with py2neo==3.1.2 this code was working fine
selector = NodeSelector(graph)
student_node = selector.select("school", studen_key=studen_key).first()
After upgrading the version I have updated the code like this
selector = NodeMatcher(graph)
student_node = selector.match("school", studen_key=studen_key).first()
but it is throwing errors.
py2neo.database.ClientError: SyntaxError: Invalid input '{': expected "+" or "-" (line 1, column 39 (offset: 38))
"MATCH (_:student) WHERE _.student_key = {1} RETURN _"