{"action":"opened","number":39,"pull_request":{"url":"https://api.github.com/repos/analyseether/ether_sql/pulls/39","id":195769591,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NzY5NTkx","html_url":"https://github.com/analyseether/ether_sql/pull/39","diff_url":"https://github.com/analyseether/ether_sql/pull/39.diff","patch_url":"https://github.com/analyseether/ether_sql/pull/39.patch","issue_url":"https://api.github.com/repos/analyseether/ether_sql/issues/39","number":39,"state":"open","locked":false,"title":"Created a scoped db_session with cleanup","user":{"login":"ankitchiplunkar","id":5904910,"node_id":"MDQ6VXNlcjU5MDQ5MTA=","avatar_url":"https://avatars3.githubusercontent.com/u/5904910?v=4","gravatar_id":"","url":"https://api.github.com/users/ankitchiplunkar","html_url":"https://github.com/ankitchiplunkar","followers_url":"https://api.github.com/users/ankitchiplunkar/followers","following_url":"https://api.github.com/users/ankitchiplunkar/following{/other_user}","gists_url":"https://api.github.com/users/ankitchiplunkar/gists{/gist_id}","starred_url":"https://api.github.com/users/ankitchiplunkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ankitchiplunkar/subscriptions","organizations_url":"https://api.github.com/users/ankitchiplunkar/orgs","repos_url":"https://api.github.com/users/ankitchiplunkar/repos","events_url":"https://api.github.com/users/ankitchiplunkar/events{/privacy}","received_events_url":"https://api.github.com/users/ankitchiplunkar/received_events","type":"User","site_admin":false},"body":"## Types of changes\r\n\r\nWhat types of changes does your code introduce to ether_sql?\r\n_Put an `x` in the boxes that apply_\r\n\r\n- [x] Bugfix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)\r\n\r\n## Explain your changes\r\n\r\nDoes this close any currently open issues? https://github.com/analyseether/ether_sql/issues/38\r\n\r\n\r\n## Checklist\r\n\r\n_Put an `x` in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code._\r\n\r\n- [x] I have read the [CONTRIBUTING](http://ether-sql.readthedocs.io/en/latest/guides/contribution.html) doc\r\n- [x] Lint and unit tests pass locally with my changes\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] I have added necessary documentation (if appropriate)\r\n\r\n\r\n## Where has this been tested?\r\n\r\n**Operating System:** Ubuntu 16.04\r\n\r\n**Node:** Parity and Infura\r\n","created_at":"2018-06-19T09:48:14Z","updated_at":"2018-06-19T09:48:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/analyseether/ether_sql/pulls/39/commits","review_comments_url":"https://api.github.com/repos/analyseether/ether_sql/pulls/39/comments","review_comment_url":"https://api.github.com/repos/analyseether/ether_sql/pulls/comments{/number}","comments_url":"https://api.github.com/repos/analyseether/ether_sql/issues/39/comments","statuses_url":"https://api.github.com/repos/analyseether/ether_sql/statuses/d88846692dded730767eb5313916b83a6cf77c46","head":{"label":"analyseether:ankit/session_scope","ref":"ankit/session_scope","sha":"d88846692dded730767eb5313916b83a6cf77c46","user":{"login":"analyseether","id":36788452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Nzg4NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/36788452?v=4","gravatar_id":"","url":"https://api.github.com/users/analyseether","html_url":"https://github.com/analyseether","followers_url":"https://api.github.com/users/analyseether/followers","following_url":"https://api.github.com/users/analyseether/following{/other_user}","gists_url":"https://api.github.com/users/analyseether/gists{/gist_id}","starred_url":"https://api.github.com/users/analyseether/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analyseether/subscriptions","organizations_url":"https://api.github.com/users/analyseether/orgs","repos_url":"https://api.github.com/users/analyseether/repos","events_url":"https://api.github.com/users/analyseether/events{/privacy}","received_events_url":"https://api.github.com/users/analyseether/received_events","type":"Organization","site_admin":false},"repo":{"id":131996038,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE5OTYwMzg=","name":"ether_sql","full_name":"analyseether/ether_sql","owner":{"login":"analyseether","id":36788452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Nzg4NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/36788452?v=4","gravatar_id":"","url":"https://api.github.com/users/analyseether","html_url":"https://github.com/analyseether","followers_url":"https://api.github.com/users/analyseether/followers","following_url":"https://api.github.com/users/analyseether/following{/other_user}","gists_url":"https://api.github.com/users/analyseether/gists{/gist_id}","starred_url":"https://api.github.com/users/analyseether/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analyseether/subscriptions","organizations_url":"https://api.github.com/users/analyseether/orgs","repos_url":"https://api.github.com/users/analyseether/repos","events_url":"https://api.github.com/users/analyseether/events{/privacy}","received_events_url":"https://api.github.com/users/analyseether/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/analyseether/ether_sql","description":"A python library to push ethereum blockchain data into an sql database. ","fork":false,"url":"https://api.github.com/repos/analyseether/ether_sql","forks_url":"https://api.github.com/repos/analyseether/ether_sql/forks","keys_url":"https://api.github.com/repos/analyseether/ether_sql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analyseether/ether_sql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analyseether/ether_sql/teams","hooks_url":"https://api.github.com/repos/analyseether/ether_sql/hooks","issue_events_url":"https://api.github.com/repos/analyseether/ether_sql/issues/events{/number}","events_url":"https://api.github.com/repos/analyseether/ether_sql/events","assignees_url":"https://api.github.com/repos/analyseether/ether_sql/assignees{/user}","branches_url":"https://api.github.com/repos/analyseether/ether_sql/branches{/branch}","tags_url":"https://api.github.com/repos/analyseether/ether_sql/tags","blobs_url":"https://api.github.com/repos/analyseether/ether_sql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analyseether/ether_sql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analyseether/ether_sql/git/refs{/sha}","trees_url":"https://api.github.com/repos/analyseether/ether_sql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analyseether/ether_sql/statuses/{sha}","languages_url":"https://api.github.com/repos/analyseether/ether_sql/languages","stargazers_url":"https://api.github.com/repos/analyseether/ether_sql/stargazers","contributors_url":"https://api.github.com/repos/analyseether/ether_sql/contributors","subscribers_url":"https://api.github.com/repos/analyseether/ether_sql/subscribers","subscription_url":"https://api.github.com/repos/analyseether/ether_sql/subscription","commits_url":"https://api.github.com/repos/analyseether/ether_sql/commits{/sha}","git_commits_url":"https://api.github.com/repos/analyseether/ether_sql/git/commits{/sha}","comments_url":"https://api.github.com/repos/analyseether/ether_sql/comments{/number}","issue_comment_url":"https://api.github.com/repos/analyseether/ether_sql/issues/comments{/number}","contents_url":"https://api.github.com/repos/analyseether/ether_sql/contents/{+path}","compare_url":"https://api.github.com/repos/analyseether/ether_sql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analyseether/ether_sql/merges","archive_url":"https://api.github.com/repos/analyseether/ether_sql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analyseether/ether_sql/downloads","issues_url":"https://api.github.com/repos/analyseether/ether_sql/issues{/number}","pulls_url":"https://api.github.com/repos/analyseether/ether_sql/pulls{/number}","milestones_url":"https://api.github.com/repos/analyseether/ether_sql/milestones{/number}","notifications_url":"https://api.github.com/repos/analyseether/ether_sql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analyseether/ether_sql/labels{/name}","releases_url":"https://api.github.com/repos/analyseether/ether_sql/releases{/id}","deployments_url":"https://api.github.com/repos/analyseether/ether_sql/deployments","created_at":"2018-05-03T13:03:45Z","updated_at":"2018-06-18T11:41:33Z","pushed_at":"2018-06-19T09:39:10Z","git_url":"git://github.com/analyseether/ether_sql.git","ssh_url":"git@github.com:analyseether/ether_sql.git","clone_url":"https://github.com/analyseether/ether_sql.git","svn_url":"https://github.com/analyseether/ether_sql","homepage":"http://ether-sql.readthedocs.io","size":494,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":15,"watchers":10,"default_branch":"master"}},"base":{"label":"analyseether:master","ref":"master","sha":"227bd1592c1bc12a2089f02897a8bac81af42124","user":{"login":"analyseether","id":36788452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Nzg4NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/36788452?v=4","gravatar_id":"","url":"https://api.github.com/users/analyseether","html_url":"https://github.com/analyseether","followers_url":"https://api.github.com/users/analyseether/followers","following_url":"https://api.github.com/users/analyseether/following{/other_user}","gists_url":"https://api.github.com/users/analyseether/gists{/gist_id}","starred_url":"https://api.github.com/users/analyseether/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analyseether/subscriptions","organizations_url":"https://api.github.com/users/analyseether/orgs","repos_url":"https://api.github.com/users/analyseether/repos","events_url":"https://api.github.com/users/analyseether/events{/privacy}","received_events_url":"https://api.github.com/users/analyseether/received_events","type":"Organization","site_admin":false},"repo":{"id":131996038,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE5OTYwMzg=","name":"ether_sql","full_name":"analyseether/ether_sql","owner":{"login":"analyseether","id":36788452,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2Nzg4NDUy","avatar_url":"https://avatars3.githubusercontent.com/u/36788452?v=4","gravatar_id":"","url":"https://api.github.com/users/analyseether","html_url":"https://github.com/analyseether","followers_url":"https://api.github.com/users/analyseether/followers","following_url":"https://api.github.com/users/analyseether/following{/other_user}","gists_url":"https://api.github.com/users/analyseether/gists{/gist_id}","starred_url":"https://api.github.com/users/analyseether/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/analyseether/subscriptions","organizations_url":"https://api.github.com/users/analyseether/orgs","repos_url":"https://api.github.com/users/analyseether/repos","events_url":"https://api.github.com/users/analyseether/events{/privacy}","received_events_url":"https://api.github.com/users/analyseether/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/analyseether/ether_sql","description":"A python library to push ethereum blockchain data into an sql database. ","fork":false,"url":"https://api.github.com/repos/analyseether/ether_sql","forks_url":"https://api.github.com/repos/analyseether/ether_sql/forks","keys_url":"https://api.github.com/repos/analyseether/ether_sql/keys{/key_id}","collaborators_url":"https://api.github.com/repos/analyseether/ether_sql/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/analyseether/ether_sql/teams","hooks_url":"https://api.github.com/repos/analyseether/ether_sql/hooks","issue_events_url":"https://api.github.com/repos/analyseether/ether_sql/issues/events{/number}","events_url":"https://api.github.com/repos/analyseether/ether_sql/events","assignees_url":"https://api.github.com/repos/analyseether/ether_sql/assignees{/user}","branches_url":"https://api.github.com/repos/analyseether/ether_sql/branches{/branch}","tags_url":"https://api.github.com/repos/analyseether/ether_sql/tags","blobs_url":"https://api.github.com/repos/analyseether/ether_sql/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/analyseether/ether_sql/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/analyseether/ether_sql/git/refs{/sha}","trees_url":"https://api.github.com/repos/analyseether/ether_sql/git/trees{/sha}","statuses_url":"https://api.github.com/repos/analyseether/ether_sql/statuses/{sha}","languages_url":"https://api.github.com/repos/analyseether/ether_sql/languages","stargazers_url":"https://api.github.com/repos/analyseether/ether_sql/stargazers","contributors_url":"https://api.github.com/repos/analyseether/ether_sql/contributors","subscribers_url":"https://api.github.com/repos/analyseether/ether_sql/subscribers","subscription_url":"https://api.github.com/repos/analyseether/ether_sql/subscription","commits_url":"https://api.github.com/repos/analyseether/ether_sql/commits{/sha}","git_commits_url":"https://api.github.com/repos/analyseether/ether_sql/git/commits{/sha}","comments_url":"https://api.github.com/repos/analyseether/ether_sql/comments{/number}","issue_comment_url":"https://api.github.com/repos/analyseether/ether_sql/issues/comments{/number}","contents_url":"https://api.github.com/repos/analyseether/ether_sql/contents/{+path}","compare_url":"https://api.github.com/repos/analyseether/ether_sql/compare/{base}...{head}","merges_url":"https://api.github.com/repos/analyseether/ether_sql/merges","archive_url":"https://api.github.com/repos/analyseether/ether_sql/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/analyseether/ether_sql/downloads","issues_url":"https://api.github.com/repos/analyseether/ether_sql/issues{/number}","pulls_url":"https://api.github.com/repos/analyseether/ether_sql/pulls{/number}","milestones_url":"https://api.github.com/repos/analyseether/ether_sql/milestones{/number}","notifications_url":"https://api.github.com/repos/analyseether/ether_sql/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/analyseether/ether_sql/labels{/name}","releases_url":"https://api.github.com/repos/analyseether/ether_sql/releases{/id}","deployments_url":"https://api.github.com/repos/analyseether/ether_sql/deployments","created_at":"2018-05-03T13:03:45Z","updated_at":"2018-06-18T11:41:33Z","pushed_at":"2018-06-19T09:39:10Z","git_url":"git://github.com/analyseether/ether_sql.git","ssh_url":"git@github.com:analyseether/ether_sql.git","clone_url":"https://github.com/analyseether/ether_sql.git","svn_url":"https://github.com/analyseether/ether_sql","homepage":"http://ether-sql.readthedocs.io","size":494,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":15,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":15,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/analyseether/ether_sql/pulls/39"},"html":{"href":"https://github.com/analyseether/ether_sql/pull/39"},"issue":{"href":"https://api.github.com/repos/analyseether/ether_sql/issues/39"},"comments":{"href":"https://api.github.com/repos/analyseether/ether_sql/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/analyseether/ether_sql/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/analyseether/ether_sql/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/analyseether/ether_sql/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/analyseether/ether_sql/statuses/d88846692dded730767eb5313916b83a6cf77c46"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":164,"deletions":178,"changed_files":12}}
{"actor":{"display_login":"ankitchiplunkar"}}