{"action":"created","issue":{"url":"https://api.github.com/repos/njouanin/repool/issues/1","repository_url":"https://api.github.com/repos/njouanin/repool","labels_url":"https://api.github.com/repos/njouanin/repool/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/njouanin/repool/issues/1/comments","events_url":"https://api.github.com/repos/njouanin/repool/issues/1/events","html_url":"https://github.com/njouanin/repool/pull/1","id":147943716,"number":1,"title":"Add `connect` function to pool to auto release the connection after used","user":{"login":"tuanchauict","id":955306,"avatar_url":"https://avatars3.githubusercontent.com/u/955306?v=4","gravatar_id":"","url":"https://api.github.com/users/tuanchauict","html_url":"https://github.com/tuanchauict","followers_url":"https://api.github.com/users/tuanchauict/followers","following_url":"https://api.github.com/users/tuanchauict/following{/other_user}","gists_url":"https://api.github.com/users/tuanchauict/gists{/gist_id}","starred_url":"https://api.github.com/users/tuanchauict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuanchauict/subscriptions","organizations_url":"https://api.github.com/users/tuanchauict/orgs","repos_url":"https://api.github.com/users/tuanchauict/repos","events_url":"https://api.github.com/users/tuanchauict/events{/privacy}","received_events_url":"https://api.github.com/users/tuanchauict/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-04-13T04:34:02Z","updated_at":"2017-08-17T11:03:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/njouanin/repool/pulls/1","html_url":"https://github.com/njouanin/repool/pull/1","diff_url":"https://github.com/njouanin/repool/pull/1.diff","patch_url":"https://github.com/njouanin/repool/pull/1.patch"},"body":"I somehow usually forget to release the connection after use. So, I make this to release the connection after finishing the use. It works like the file opening (`with open(filename) as f:`)\n"},"comment":{"url":"https://api.github.com/repos/njouanin/repool/issues/comments/323038125","html_url":"https://github.com/njouanin/repool/pull/1#issuecomment-323038125","issue_url":"https://api.github.com/repos/njouanin/repool/issues/1","id":323038125,"user":{"login":"SirEdvin","id":3713151,"avatar_url":"https://avatars0.githubusercontent.com/u/3713151?v=4","gravatar_id":"","url":"https://api.github.com/users/SirEdvin","html_url":"https://github.com/SirEdvin","followers_url":"https://api.github.com/users/SirEdvin/followers","following_url":"https://api.github.com/users/SirEdvin/following{/other_user}","gists_url":"https://api.github.com/users/SirEdvin/gists{/gist_id}","starred_url":"https://api.github.com/users/SirEdvin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SirEdvin/subscriptions","organizations_url":"https://api.github.com/users/SirEdvin/orgs","repos_url":"https://api.github.com/users/SirEdvin/repos","events_url":"https://api.github.com/users/SirEdvin/events{/privacy}","received_events_url":"https://api.github.com/users/SirEdvin/received_events","type":"User","site_admin":false},"created_at":"2017-08-17T11:03:23Z","updated_at":"2017-08-17T11:03:23Z","body":"+1 for this PR"}}
{"actor":{"display_login":"SirEdvin"}}