Python driver
This section presents the breaking changes between the Neo4j 1.7 Python driver and 4.x Python driver.
The latest version of the Python driver for Neo4j can be found on the Python driver’s official page.
1.7 | Change | 4.x |
---|---|---|
|
Renamed configuration |
|
|
Renamed configuration and it is now a keyword argument |
|
|
Renamed exception |
|
|
Removed exception |
- |
|
Removed flag |
- |
|
|
|
|
|
|
|
|
|
neobolt |
No longer a dependency |
- |
neotime |
No longer a dependency |
- |
Is now a dependency |
pytz |
|
|
Removed |
Use |
|
Removed |
- |
|
Change in behavior, will only perform rollback if no commit has been performed. |
|
Session.sync()` |
Removed |
Use |
|
Removed |
Use |
|
Removed |
- |
|
Removed |
- |
|
Removed |
- |
See full changelog: https://github.com/neo4j/neo4j-python-driver/wiki/4.0-changelog.
Example code for the 4.0 Python driver | Example code for the 1.7 Python driver |
---|---|
|
|