{"action":"opened","issue":{"url":"https://api.github.com/repos/DHI-GRAS/itsybitsy/issues/2","repository_url":"https://api.github.com/repos/DHI-GRAS/itsybitsy","labels_url":"https://api.github.com/repos/DHI-GRAS/itsybitsy/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/DHI-GRAS/itsybitsy/issues/2/comments","events_url":"https://api.github.com/repos/DHI-GRAS/itsybitsy/issues/2/events","html_url":"https://github.com/DHI-GRAS/itsybitsy/issues/2","id":392494819,"node_id":"MDU6SXNzdWUzOTI0OTQ4MTk=","number":2,"title":"Warning: unclosed client session","user":{"login":"j08lue","id":3404817,"node_id":"MDQ6VXNlcjM0MDQ4MTc=","avatar_url":"https://avatars0.githubusercontent.com/u/3404817?v=4","gravatar_id":"","url":"https://api.github.com/users/j08lue","html_url":"https://github.com/j08lue","followers_url":"https://api.github.com/users/j08lue/followers","following_url":"https://api.github.com/users/j08lue/following{/other_user}","gists_url":"https://api.github.com/users/j08lue/gists{/gist_id}","starred_url":"https://api.github.com/users/j08lue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j08lue/subscriptions","organizations_url":"https://api.github.com/users/j08lue/orgs","repos_url":"https://api.github.com/users/j08lue/repos","events_url":"https://api.github.com/users/j08lue/events{/privacy}","received_events_url":"https://api.github.com/users/j08lue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-19T08:43:54Z","updated_at":"2018-12-19T08:43:54Z","closed_at":null,"author_association":"MEMBER","body":"I am getting an unclosed client session warning:\r\n\r\n```\r\nc:\\...\\site-packages\\itsybitsy\\spider\\asynchronous.py:149: RuntimeWarning: coroutine 'ClientSession.close' was never awaited\r\n  session.close()\r\nUnclosed client session\r\nclient_session: <aiohttp.client.ClientSession object at 0x000001AEFAE10C50>\r\n```\r\n\r\nI can see this issue also is discussed here: https://stackoverflow.com/questions/46112848/python-package-aiohttp-has-a-warning-message-unclosed-client-session\r\n\r\nI also have the problem that the server kicks me out due to too many requests - I do not know whether closing the sessions could solve that? In any case, I guess we better close them."}}
{"actor":{"display_login":"j08lue"}}