Skip to content

Conversation

Debakel
Copy link

@Debakel Debakel commented Sep 9, 2025

Use a context-managed requests.Session to guarantee that the session and its underlying TCP connections are properly closed.

This prevents ResourceWarning messages being written to stderr.

@psiinon
Copy link
Member

psiinon commented Sep 9, 2025

Logo
Checkmarx One – Scan Summary & Details4a0ee0b6-e183-48ef-9148-91128f6d85d8

Great job! No new security vulnerabilities introduced in this pull request


Use @Checkmarx to reach out to us for assistance.

Just send a PR comment with @Checkmarx followed by a natural language request.

Examples: @Checkmarx how are you able to help me? @Checkmarx rescan this PR

Use a context-managed `requests.Session` to guarantee that the session and its underlying TCP connections are properly closed.
This prevents `ResourceWarning` messages being written to stderr.

Signed-off-by: Moritz Duchêne <debakel@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants