{"action":"opened","number":439,"pull_request":{"url":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439","id":46724215,"html_url":"https://github.com/sigmavirus24/github3.py/pull/439","diff_url":"https://github.com/sigmavirus24/github3.py/pull/439.diff","patch_url":"https://github.com/sigmavirus24/github3.py/pull/439.patch","issue_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/439","number":439,"state":"open","locked":false,"title":"Expose the original response that was used for creating GitHubObjects","user":{"login":"seveas","id":200649,"avatar_url":"https://avatars.githubusercontent.com/u/200649?v=3","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":false},"body":"Based on the ideas in #436, this series exposes the original HTTP response\nobjects, so it can be used to look at things like ETag and rate limits. The\nfirst commit is just to make travis happy, as the notebook test is broken, the\ncode is not. The second commit is the main body of work, converting\nGitHubObject, _instance_or_null and all callers of the latter to pass response\nobjects around.\n\nThe third commit also attaches response objects to GitHubObjects created by\nGitHubIterators. I'm not entirely sure this is a good idea, as these responses\ncontain more data than just the object that was created.","created_at":"2015-10-04T12:21:08Z","updated_at":"2015-10-04T12:21:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439/commits","review_comments_url":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439/comments","review_comment_url":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/439/comments","statuses_url":"https://api.github.com/repos/sigmavirus24/github3.py/statuses/42720a4238bec98ac173dfc65194cee89a47616e","head":{"label":"seveas:expose-response","ref":"expose-response","sha":"42720a4238bec98ac173dfc65194cee89a47616e","user":{"login":"seveas","id":200649,"avatar_url":"https://avatars.githubusercontent.com/u/200649?v=3","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":false},"repo":{"id":6021532,"name":"github3.py","full_name":"seveas/github3.py","owner":{"login":"seveas","id":200649,"avatar_url":"https://avatars.githubusercontent.com/u/200649?v=3","gravatar_id":"","url":"https://api.github.com/users/seveas","html_url":"https://github.com/seveas","followers_url":"https://api.github.com/users/seveas/followers","following_url":"https://api.github.com/users/seveas/following{/other_user}","gists_url":"https://api.github.com/users/seveas/gists{/gist_id}","starred_url":"https://api.github.com/users/seveas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seveas/subscriptions","organizations_url":"https://api.github.com/users/seveas/orgs","repos_url":"https://api.github.com/users/seveas/repos","events_url":"https://api.github.com/users/seveas/events{/privacy}","received_events_url":"https://api.github.com/users/seveas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seveas/github3.py","description":"Python library for interfacing with the GitHub APIv3","fork":true,"url":"https://api.github.com/repos/seveas/github3.py","forks_url":"https://api.github.com/repos/seveas/github3.py/forks","keys_url":"https://api.github.com/repos/seveas/github3.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seveas/github3.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seveas/github3.py/teams","hooks_url":"https://api.github.com/repos/seveas/github3.py/hooks","issue_events_url":"https://api.github.com/repos/seveas/github3.py/issues/events{/number}","events_url":"https://api.github.com/repos/seveas/github3.py/events","assignees_url":"https://api.github.com/repos/seveas/github3.py/assignees{/user}","branches_url":"https://api.github.com/repos/seveas/github3.py/branches{/branch}","tags_url":"https://api.github.com/repos/seveas/github3.py/tags","blobs_url":"https://api.github.com/repos/seveas/github3.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seveas/github3.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seveas/github3.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/seveas/github3.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seveas/github3.py/statuses/{sha}","languages_url":"https://api.github.com/repos/seveas/github3.py/languages","stargazers_url":"https://api.github.com/repos/seveas/github3.py/stargazers","contributors_url":"https://api.github.com/repos/seveas/github3.py/contributors","subscribers_url":"https://api.github.com/repos/seveas/github3.py/subscribers","subscription_url":"https://api.github.com/repos/seveas/github3.py/subscription","commits_url":"https://api.github.com/repos/seveas/github3.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/seveas/github3.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/seveas/github3.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/seveas/github3.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/seveas/github3.py/contents/{+path}","compare_url":"https://api.github.com/repos/seveas/github3.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seveas/github3.py/merges","archive_url":"https://api.github.com/repos/seveas/github3.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seveas/github3.py/downloads","issues_url":"https://api.github.com/repos/seveas/github3.py/issues{/number}","pulls_url":"https://api.github.com/repos/seveas/github3.py/pulls{/number}","milestones_url":"https://api.github.com/repos/seveas/github3.py/milestones{/number}","notifications_url":"https://api.github.com/repos/seveas/github3.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seveas/github3.py/labels{/name}","releases_url":"https://api.github.com/repos/seveas/github3.py/releases{/id}","created_at":"2012-09-30T19:31:42Z","updated_at":"2015-09-12T20:35:56Z","pushed_at":"2015-10-04T12:15:41Z","git_url":"git://github.com/seveas/github3.py.git","ssh_url":"git@github.com:seveas/github3.py.git","clone_url":"https://github.com/seveas/github3.py.git","svn_url":"https://github.com/seveas/github3.py","homepage":"http://github3py.readthedocs.org/","size":6392,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":2,"default_branch":"master"}},"base":{"label":"sigmavirus24:develop","ref":"develop","sha":"2002ba2786de15475c57118869826d718e2b1ad0","user":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"repo":{"id":3710711,"name":"github3.py","full_name":"sigmavirus24/github3.py","owner":{"login":"sigmavirus24","id":240830,"avatar_url":"https://avatars.githubusercontent.com/u/240830?v=3","gravatar_id":"","url":"https://api.github.com/users/sigmavirus24","html_url":"https://github.com/sigmavirus24","followers_url":"https://api.github.com/users/sigmavirus24/followers","following_url":"https://api.github.com/users/sigmavirus24/following{/other_user}","gists_url":"https://api.github.com/users/sigmavirus24/gists{/gist_id}","starred_url":"https://api.github.com/users/sigmavirus24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sigmavirus24/subscriptions","organizations_url":"https://api.github.com/users/sigmavirus24/orgs","repos_url":"https://api.github.com/users/sigmavirus24/repos","events_url":"https://api.github.com/users/sigmavirus24/events{/privacy}","received_events_url":"https://api.github.com/users/sigmavirus24/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sigmavirus24/github3.py","description":"Python library for interfacing with the GitHub APIv3","fork":false,"url":"https://api.github.com/repos/sigmavirus24/github3.py","forks_url":"https://api.github.com/repos/sigmavirus24/github3.py/forks","keys_url":"https://api.github.com/repos/sigmavirus24/github3.py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sigmavirus24/github3.py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sigmavirus24/github3.py/teams","hooks_url":"https://api.github.com/repos/sigmavirus24/github3.py/hooks","issue_events_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/events{/number}","events_url":"https://api.github.com/repos/sigmavirus24/github3.py/events","assignees_url":"https://api.github.com/repos/sigmavirus24/github3.py/assignees{/user}","branches_url":"https://api.github.com/repos/sigmavirus24/github3.py/branches{/branch}","tags_url":"https://api.github.com/repos/sigmavirus24/github3.py/tags","blobs_url":"https://api.github.com/repos/sigmavirus24/github3.py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sigmavirus24/github3.py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sigmavirus24/github3.py/git/refs{/sha}","trees_url":"https://api.github.com/repos/sigmavirus24/github3.py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sigmavirus24/github3.py/statuses/{sha}","languages_url":"https://api.github.com/repos/sigmavirus24/github3.py/languages","stargazers_url":"https://api.github.com/repos/sigmavirus24/github3.py/stargazers","contributors_url":"https://api.github.com/repos/sigmavirus24/github3.py/contributors","subscribers_url":"https://api.github.com/repos/sigmavirus24/github3.py/subscribers","subscription_url":"https://api.github.com/repos/sigmavirus24/github3.py/subscription","commits_url":"https://api.github.com/repos/sigmavirus24/github3.py/commits{/sha}","git_commits_url":"https://api.github.com/repos/sigmavirus24/github3.py/git/commits{/sha}","comments_url":"https://api.github.com/repos/sigmavirus24/github3.py/comments{/number}","issue_comment_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues/comments{/number}","contents_url":"https://api.github.com/repos/sigmavirus24/github3.py/contents/{+path}","compare_url":"https://api.github.com/repos/sigmavirus24/github3.py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sigmavirus24/github3.py/merges","archive_url":"https://api.github.com/repos/sigmavirus24/github3.py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sigmavirus24/github3.py/downloads","issues_url":"https://api.github.com/repos/sigmavirus24/github3.py/issues{/number}","pulls_url":"https://api.github.com/repos/sigmavirus24/github3.py/pulls{/number}","milestones_url":"https://api.github.com/repos/sigmavirus24/github3.py/milestones{/number}","notifications_url":"https://api.github.com/repos/sigmavirus24/github3.py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sigmavirus24/github3.py/labels{/name}","releases_url":"https://api.github.com/repos/sigmavirus24/github3.py/releases{/id}","created_at":"2012-03-13T19:58:53Z","updated_at":"2015-10-02T15:09:46Z","pushed_at":"2015-10-01T00:45:53Z","git_url":"git://github.com/sigmavirus24/github3.py.git","ssh_url":"git@github.com:sigmavirus24/github3.py.git","clone_url":"https://github.com/sigmavirus24/github3.py.git","svn_url":"https://github.com/sigmavirus24/github3.py","homepage":"http://github3py.readthedocs.org/","size":9210,"stargazers_count":380,"watchers_count":380,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":143,"mirror_url":null,"open_issues_count":55,"forks":143,"open_issues":55,"watchers":380,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439"},"html":{"href":"https://github.com/sigmavirus24/github3.py/pull/439"},"issue":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/issues/439"},"comments":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/issues/439/comments"},"review_comments":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439/comments"},"review_comment":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/pulls/439/commits"},"statuses":{"href":"https://api.github.com/repos/sigmavirus24/github3.py/statuses/42720a4238bec98ac173dfc65194cee89a47616e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":199,"deletions":233,"changed_files":16}}