Skip to content
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

Prevent resource warnings from pymongo. #9806

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fniessink
Copy link
Member

To prevent resource warnings from pymongo when running tests, ensure the Mongo client connection is closed by wrapping it in a context manager.

@fniessink fniessink force-pushed the fix-pymongo-resourcewarning branch 2 times, most recently from 7f27631 to 9c7c4e0 Compare September 19, 2024 13:07
Copy link

sonarcloud bot commented Sep 19, 2024

To prevent resource warnings from pymongo when running tests, ensure the Mongo client connection is closed by wrapping it in a context manager.
@fniessink fniessink marked this pull request as draft September 20, 2024 07:52
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