Skip to content

Deprecate implicit closing of drivers and sessions #653

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

robsdedude
Copy link
Member

Deprecated closing of driver and session objects in their destructor.
This behaviour is non-deterministic as there is no guarantee that the
destructor will ever be called. A ResourceWarning is emitted instead.

Make sure to configure Python to output those warnings when developing your
application locally (it does not by default).

Deprecated closing of driver and session objects in their destructor.
This behaviour is non-deterministic as there is no guarantee that the
destructor will ever be called. A `ResourceWarning` is emitted instead.
@robsdedude robsdedude merged commit 342a9f5 into neo4j:5.0 Feb 1, 2022
@robsdedude robsdedude deleted the destructor-close-deprecation branch February 1, 2022 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant