I'm having difficulty closing the connections cleanly. I'm getting the following errors after calling methods. Mainly the specific client session. I think we need to do that around the post.
2020-01-12 20:09:24,125 INFO: Syncing all packages.
Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0x110d400d0>
I'm manually calling (as I can't use the ServerProxy().close() in the state it's in):
1)
It seems later versions of aiohttp the close method has moved to a coroutine. We should fix that.
2)
Would you be open to moving to using the context managers around aiohttp calls as this will probably clean up everything cleanly and remove the error.
I'm having difficulty closing the connections cleanly. I'm getting the following errors after calling methods. Mainly the specific client session. I think we need to do that around the
post
.Fixes Needed
1) It seems later versions of
aiohttp
the close method has moved to a coroutine. We should fix that.2) Would you be open to moving to using the context managers around aiohttp calls as this will probably clean up everything cleanly and remove the error.