{"action":"opened","number":1340,"pull_request":{"url":"https://api.github.com/repos/OpenMined/PySyft/pulls/1340","id":195405047,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1NDA1MDQ3","html_url":"https://github.com/OpenMined/PySyft/pull/1340","diff_url":"https://github.com/OpenMined/PySyft/pull/1340.diff","patch_url":"https://github.com/OpenMined/PySyft/pull/1340.patch","issue_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1340","number":1340,"state":"open","locked":false,"title":"Hooks as context manager","user":{"login":"jvmancuso","id":7891333,"node_id":"MDQ6VXNlcjc4OTEzMzM=","avatar_url":"https://avatars2.githubusercontent.com/u/7891333?v=4","gravatar_id":"","url":"https://api.github.com/users/jvmancuso","html_url":"https://github.com/jvmancuso","followers_url":"https://api.github.com/users/jvmancuso/followers","following_url":"https://api.github.com/users/jvmancuso/following{/other_user}","gists_url":"https://api.github.com/users/jvmancuso/gists{/gist_id}","starred_url":"https://api.github.com/users/jvmancuso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvmancuso/subscriptions","organizations_url":"https://api.github.com/users/jvmancuso/orgs","repos_url":"https://api.github.com/users/jvmancuso/repos","events_url":"https://api.github.com/users/jvmancuso/events{/privacy}","received_events_url":"https://api.github.com/users/jvmancuso/received_events","type":"User","site_admin":false},"body":"# Description\r\n\r\nPlease include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.\r\n\r\nFixes # (issue) NA\r\n\r\n## Type of change\r\n\r\nPlease delete options that are not relevant.\r\n\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [x] 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- [ ] This change requires a documentation update\r\n\r\n# How Has This Been Tested?\r\n\r\nPlease describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration\r\n\r\n- [ ] Test A\r\n- [ ] Test B\r\n\r\n**Test Configuration**:\r\n* CPU:\r\n* GPU:\r\n* PySyft Version:\r\n* Unity Version:\r\n* OpenMined Unity App Version:\r\n\r\n# Checklist:\r\n\r\n- [ ] My code follows the style guidelines of this project\r\n- [ ] I have performed a self-review of my own code\r\n- [ ] I have commented my code, particularly in hard-to-understand areas\r\n- [ ] I have made corresponding changes to the documentation\r\n- [ ] My changes generate no new warnings\r\n- [ ] I have added tests that prove my fix is effective or that my feature works\r\n- [ ] New and existing unit tests pass locally with my changes\r\n- [ ] Any dependent changes have been merged and published in downstream modules\r\n","created_at":"2018-06-18T01:10:14Z","updated_at":"2018-06-18T01:10: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/OpenMined/PySyft/pulls/1340/commits","review_comments_url":"https://api.github.com/repos/OpenMined/PySyft/pulls/1340/comments","review_comment_url":"https://api.github.com/repos/OpenMined/PySyft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OpenMined/PySyft/issues/1340/comments","statuses_url":"https://api.github.com/repos/OpenMined/PySyft/statuses/0b48d1b2c97e72dc0554c028fc2576e6ad3e78d3","head":{"label":"OpenMined:hooks_as_context_manager","ref":"hooks_as_context_manager","sha":"0b48d1b2c97e72dc0554c028fc2576e6ad3e78d3","user":{"login":"OpenMined","id":30185530,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTg1NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/30185530?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMined","html_url":"https://github.com/OpenMined","followers_url":"https://api.github.com/users/OpenMined/followers","following_url":"https://api.github.com/users/OpenMined/following{/other_user}","gists_url":"https://api.github.com/users/OpenMined/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMined/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMined/subscriptions","organizations_url":"https://api.github.com/users/OpenMined/orgs","repos_url":"https://api.github.com/users/OpenMined/repos","events_url":"https://api.github.com/users/OpenMined/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMined/received_events","type":"Organization","site_admin":false},"repo":{"id":97641933,"node_id":"MDEwOlJlcG9zaXRvcnk5NzY0MTkzMw==","name":"PySyft","full_name":"OpenMined/PySyft","owner":{"login":"OpenMined","id":30185530,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTg1NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/30185530?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMined","html_url":"https://github.com/OpenMined","followers_url":"https://api.github.com/users/OpenMined/followers","following_url":"https://api.github.com/users/OpenMined/following{/other_user}","gists_url":"https://api.github.com/users/OpenMined/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMined/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMined/subscriptions","organizations_url":"https://api.github.com/users/OpenMined/orgs","repos_url":"https://api.github.com/users/OpenMined/repos","events_url":"https://api.github.com/users/OpenMined/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMined/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenMined/PySyft","description":"A Library for Private, Secure, Multi-Owner Deep Learning - Currently Pre Alpha","fork":false,"url":"https://api.github.com/repos/OpenMined/PySyft","forks_url":"https://api.github.com/repos/OpenMined/PySyft/forks","keys_url":"https://api.github.com/repos/OpenMined/PySyft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenMined/PySyft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenMined/PySyft/teams","hooks_url":"https://api.github.com/repos/OpenMined/PySyft/hooks","issue_events_url":"https://api.github.com/repos/OpenMined/PySyft/issues/events{/number}","events_url":"https://api.github.com/repos/OpenMined/PySyft/events","assignees_url":"https://api.github.com/repos/OpenMined/PySyft/assignees{/user}","branches_url":"https://api.github.com/repos/OpenMined/PySyft/branches{/branch}","tags_url":"https://api.github.com/repos/OpenMined/PySyft/tags","blobs_url":"https://api.github.com/repos/OpenMined/PySyft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenMined/PySyft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenMined/PySyft/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenMined/PySyft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenMined/PySyft/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenMined/PySyft/languages","stargazers_url":"https://api.github.com/repos/OpenMined/PySyft/stargazers","contributors_url":"https://api.github.com/repos/OpenMined/PySyft/contributors","subscribers_url":"https://api.github.com/repos/OpenMined/PySyft/subscribers","subscription_url":"https://api.github.com/repos/OpenMined/PySyft/subscription","commits_url":"https://api.github.com/repos/OpenMined/PySyft/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenMined/PySyft/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenMined/PySyft/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenMined/PySyft/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenMined/PySyft/contents/{+path}","compare_url":"https://api.github.com/repos/OpenMined/PySyft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenMined/PySyft/merges","archive_url":"https://api.github.com/repos/OpenMined/PySyft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenMined/PySyft/downloads","issues_url":"https://api.github.com/repos/OpenMined/PySyft/issues{/number}","pulls_url":"https://api.github.com/repos/OpenMined/PySyft/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenMined/PySyft/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenMined/PySyft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenMined/PySyft/labels{/name}","releases_url":"https://api.github.com/repos/OpenMined/PySyft/releases{/id}","deployments_url":"https://api.github.com/repos/OpenMined/PySyft/deployments","created_at":"2017-07-18T20:41:16Z","updated_at":"2018-06-17T09:28:25Z","pushed_at":"2018-06-18T01:08:39Z","git_url":"git://github.com/OpenMined/PySyft.git","ssh_url":"git@github.com:OpenMined/PySyft.git","clone_url":"https://github.com/OpenMined/PySyft.git","svn_url":"https://github.com/OpenMined/PySyft","homepage":"","size":4919,"stargazers_count":866,"watchers_count":866,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":327,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":327,"open_issues":3,"watchers":866,"default_branch":"master"}},"base":{"label":"OpenMined:master","ref":"master","sha":"923bfe4ebe9c0cf731d9bd4500b39f41fd2c7b5c","user":{"login":"OpenMined","id":30185530,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTg1NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/30185530?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMined","html_url":"https://github.com/OpenMined","followers_url":"https://api.github.com/users/OpenMined/followers","following_url":"https://api.github.com/users/OpenMined/following{/other_user}","gists_url":"https://api.github.com/users/OpenMined/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMined/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMined/subscriptions","organizations_url":"https://api.github.com/users/OpenMined/orgs","repos_url":"https://api.github.com/users/OpenMined/repos","events_url":"https://api.github.com/users/OpenMined/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMined/received_events","type":"Organization","site_admin":false},"repo":{"id":97641933,"node_id":"MDEwOlJlcG9zaXRvcnk5NzY0MTkzMw==","name":"PySyft","full_name":"OpenMined/PySyft","owner":{"login":"OpenMined","id":30185530,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMwMTg1NTMw","avatar_url":"https://avatars3.githubusercontent.com/u/30185530?v=4","gravatar_id":"","url":"https://api.github.com/users/OpenMined","html_url":"https://github.com/OpenMined","followers_url":"https://api.github.com/users/OpenMined/followers","following_url":"https://api.github.com/users/OpenMined/following{/other_user}","gists_url":"https://api.github.com/users/OpenMined/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenMined/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenMined/subscriptions","organizations_url":"https://api.github.com/users/OpenMined/orgs","repos_url":"https://api.github.com/users/OpenMined/repos","events_url":"https://api.github.com/users/OpenMined/events{/privacy}","received_events_url":"https://api.github.com/users/OpenMined/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenMined/PySyft","description":"A Library for Private, Secure, Multi-Owner Deep Learning - Currently Pre Alpha","fork":false,"url":"https://api.github.com/repos/OpenMined/PySyft","forks_url":"https://api.github.com/repos/OpenMined/PySyft/forks","keys_url":"https://api.github.com/repos/OpenMined/PySyft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenMined/PySyft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenMined/PySyft/teams","hooks_url":"https://api.github.com/repos/OpenMined/PySyft/hooks","issue_events_url":"https://api.github.com/repos/OpenMined/PySyft/issues/events{/number}","events_url":"https://api.github.com/repos/OpenMined/PySyft/events","assignees_url":"https://api.github.com/repos/OpenMined/PySyft/assignees{/user}","branches_url":"https://api.github.com/repos/OpenMined/PySyft/branches{/branch}","tags_url":"https://api.github.com/repos/OpenMined/PySyft/tags","blobs_url":"https://api.github.com/repos/OpenMined/PySyft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenMined/PySyft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenMined/PySyft/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenMined/PySyft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenMined/PySyft/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenMined/PySyft/languages","stargazers_url":"https://api.github.com/repos/OpenMined/PySyft/stargazers","contributors_url":"https://api.github.com/repos/OpenMined/PySyft/contributors","subscribers_url":"https://api.github.com/repos/OpenMined/PySyft/subscribers","subscription_url":"https://api.github.com/repos/OpenMined/PySyft/subscription","commits_url":"https://api.github.com/repos/OpenMined/PySyft/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenMined/PySyft/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenMined/PySyft/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenMined/PySyft/issues/comments{/number}","contents_url":"https://api.github.com/repos/OpenMined/PySyft/contents/{+path}","compare_url":"https://api.github.com/repos/OpenMined/PySyft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenMined/PySyft/merges","archive_url":"https://api.github.com/repos/OpenMined/PySyft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenMined/PySyft/downloads","issues_url":"https://api.github.com/repos/OpenMined/PySyft/issues{/number}","pulls_url":"https://api.github.com/repos/OpenMined/PySyft/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenMined/PySyft/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenMined/PySyft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenMined/PySyft/labels{/name}","releases_url":"https://api.github.com/repos/OpenMined/PySyft/releases{/id}","deployments_url":"https://api.github.com/repos/OpenMined/PySyft/deployments","created_at":"2017-07-18T20:41:16Z","updated_at":"2018-06-17T09:28:25Z","pushed_at":"2018-06-18T01:08:39Z","git_url":"git://github.com/OpenMined/PySyft.git","ssh_url":"git@github.com:OpenMined/PySyft.git","clone_url":"https://github.com/OpenMined/PySyft.git","svn_url":"https://github.com/OpenMined/PySyft","homepage":"","size":4919,"stargazers_count":866,"watchers_count":866,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":327,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":327,"open_issues":3,"watchers":866,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenMined/PySyft/pulls/1340"},"html":{"href":"https://github.com/OpenMined/PySyft/pull/1340"},"issue":{"href":"https://api.github.com/repos/OpenMined/PySyft/issues/1340"},"comments":{"href":"https://api.github.com/repos/OpenMined/PySyft/issues/1340/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenMined/PySyft/pulls/1340/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenMined/PySyft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OpenMined/PySyft/pulls/1340/commits"},"statuses":{"href":"https://api.github.com/repos/OpenMined/PySyft/statuses/0b48d1b2c97e72dc0554c028fc2576e6ad3e78d3"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":13,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"jvmancuso"}}