In our application, we are connecting to Neo4j database through py2neo module version 3.1.2. Now we would like to update it to 4.0.0 version. We have gone through the below link and understood what are the query level changes required.
However, there are few modules not available in py2neo 4.0.0 version. Please help us to understand if there is any equivalent module available.
from py2neo.database.status import ConstraintError
from py2neo.packages.neo4j.v1.exceptions import ProtocolError
from py2neo.packages.httpstream import http
Below are the error details for the reference.
ModuleNotFoundError: No module named 'py2neo.database.status'; 'py2neo.database' is not a package
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'py2neo.packages'