Skip to content

Resolution for "Unclosed connection" warning #8518

Answered by webknjaz
rijulg asked this question in Q&A
Discussion options

You must be logged in to vote

Use async with session.get() as http_response: ... so that you don't forget to close resources.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by webknjaz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants