Skip to content

Trying to read response outside of async with aiohttp.ClientSession() as session #5813

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

You must be logged in to vote

Async context manager makes sure to release the resources. You shouldn't access them outside of it.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@aruseni
Comment options

@webknjaz
Comment options

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