{"action":"created","comment":{"url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/comments/233245128","pull_request_review_id":174615792,"id":233245128,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMzI0NTEyOA==","diff_hunk":"@@ -150,27 +150,31 @@ class AuthorizedSession(requests.Session):\n             refresh the credentials and retry the request.\n         refresh_timeout (Optional[int]): The timeout value in seconds for\n             credential refresh HTTP requests.\n-        kwargs: Additional arguments passed to the :class:`requests.Session`\n-            constructor.\n+        auth_request_session (:class:`requests.Session`): (Optional)\n+            HTTP object to make requests.","path":"google/auth/transport/requests.py","position":null,"original_position":7,"commit_id":"4d1baf4bd131ddb9bc1d99cda5de3aecae9d9063","original_commit_id":"5a29b4d73767c9f46d64ebb75c63244cbc94ea52","user":{"login":"brianbao","id":7892284,"node_id":"MDQ6VXNlcjc4OTIyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7892284?v=4","gravatar_id":"","url":"https://api.github.com/users/brianbao","html_url":"https://github.com/brianbao","followers_url":"https://api.github.com/users/brianbao/followers","following_url":"https://api.github.com/users/brianbao/following{/other_user}","gists_url":"https://api.github.com/users/brianbao/gists{/gist_id}","starred_url":"https://api.github.com/users/brianbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianbao/subscriptions","organizations_url":"https://api.github.com/users/brianbao/orgs","repos_url":"https://api.github.com/users/brianbao/repos","events_url":"https://api.github.com/users/brianbao/events{/privacy}","received_events_url":"https://api.github.com/users/brianbao/received_events","type":"User","site_admin":false},"body":"Sounds good!","created_at":"2018-11-13T22:20:21Z","updated_at":"2018-11-13T22:20:21Z","html_url":"https://github.com/googleapis/google-auth-library-python/pull/306#discussion_r233245128","pull_request_url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/comments/233245128"},"html":{"href":"https://github.com/googleapis/google-auth-library-python/pull/306#discussion_r233245128"},"pull_request":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306"}},"in_reply_to_id":233165929},"pull_request":{"url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306","id":230301287,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwMzAxMjg3","html_url":"https://github.com/googleapis/google-auth-library-python/pull/306","diff_url":"https://github.com/googleapis/google-auth-library-python/pull/306.diff","patch_url":"https://github.com/googleapis/google-auth-library-python/pull/306.patch","issue_url":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/306","number":306,"state":"open","locked":false,"title":"Allow user to pass Session object to AuthorizedSession","user":{"login":"brianbao","id":7892284,"node_id":"MDQ6VXNlcjc4OTIyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7892284?v=4","gravatar_id":"","url":"https://api.github.com/users/brianbao","html_url":"https://github.com/brianbao","followers_url":"https://api.github.com/users/brianbao/followers","following_url":"https://api.github.com/users/brianbao/following{/other_user}","gists_url":"https://api.github.com/users/brianbao/gists{/gist_id}","starred_url":"https://api.github.com/users/brianbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianbao/subscriptions","organizations_url":"https://api.github.com/users/brianbao/orgs","repos_url":"https://api.github.com/users/brianbao/repos","events_url":"https://api.github.com/users/brianbao/events{/privacy}","received_events_url":"https://api.github.com/users/brianbao/received_events","type":"User","site_admin":false},"body":"Addresses #275. \r\n\r\nI also removed `**kwargs` into the `AuthorizedSession` object, as the `Session` object does not allow `**kwargs` (https://github.com/requests/requests/issues/1034).\r\n\r\nIf you'd rather keep `kwargs` we can initialize the parameters in `__init__`, something like:\r\n```\r\nfor k, v in kwargs.items():\r\n    setattr(self, k, v)\r\n```","created_at":"2018-11-12T23:32:27Z","updated_at":"2018-11-13T22:20:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b80953edd975b0d49d346ec197673dc346c6553c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1062999494,"node_id":"MDU6TGFiZWwxMDYyOTk5NDk0","url":"https://api.github.com/repos/googleapis/google-auth-library-python/labels/cla:%20yes","name":"cla: yes","color":"0B7601","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306/commits","review_comments_url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306/comments","review_comment_url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/306/comments","statuses_url":"https://api.github.com/repos/googleapis/google-auth-library-python/statuses/4d1baf4bd131ddb9bc1d99cda5de3aecae9d9063","head":{"label":"brianbao:master","ref":"master","sha":"4d1baf4bd131ddb9bc1d99cda5de3aecae9d9063","user":{"login":"brianbao","id":7892284,"node_id":"MDQ6VXNlcjc4OTIyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7892284?v=4","gravatar_id":"","url":"https://api.github.com/users/brianbao","html_url":"https://github.com/brianbao","followers_url":"https://api.github.com/users/brianbao/followers","following_url":"https://api.github.com/users/brianbao/following{/other_user}","gists_url":"https://api.github.com/users/brianbao/gists{/gist_id}","starred_url":"https://api.github.com/users/brianbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianbao/subscriptions","organizations_url":"https://api.github.com/users/brianbao/orgs","repos_url":"https://api.github.com/users/brianbao/repos","events_url":"https://api.github.com/users/brianbao/events{/privacy}","received_events_url":"https://api.github.com/users/brianbao/received_events","type":"User","site_admin":false},"repo":{"id":154735297,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ3MzUyOTc=","name":"google-auth-library-python","full_name":"brianbao/google-auth-library-python","private":false,"owner":{"login":"brianbao","id":7892284,"node_id":"MDQ6VXNlcjc4OTIyODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/7892284?v=4","gravatar_id":"","url":"https://api.github.com/users/brianbao","html_url":"https://github.com/brianbao","followers_url":"https://api.github.com/users/brianbao/followers","following_url":"https://api.github.com/users/brianbao/following{/other_user}","gists_url":"https://api.github.com/users/brianbao/gists{/gist_id}","starred_url":"https://api.github.com/users/brianbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brianbao/subscriptions","organizations_url":"https://api.github.com/users/brianbao/orgs","repos_url":"https://api.github.com/users/brianbao/repos","events_url":"https://api.github.com/users/brianbao/events{/privacy}","received_events_url":"https://api.github.com/users/brianbao/received_events","type":"User","site_admin":false},"html_url":"https://github.com/brianbao/google-auth-library-python","description":"Google Auth Python Library","fork":true,"url":"https://api.github.com/repos/brianbao/google-auth-library-python","forks_url":"https://api.github.com/repos/brianbao/google-auth-library-python/forks","keys_url":"https://api.github.com/repos/brianbao/google-auth-library-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brianbao/google-auth-library-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brianbao/google-auth-library-python/teams","hooks_url":"https://api.github.com/repos/brianbao/google-auth-library-python/hooks","issue_events_url":"https://api.github.com/repos/brianbao/google-auth-library-python/issues/events{/number}","events_url":"https://api.github.com/repos/brianbao/google-auth-library-python/events","assignees_url":"https://api.github.com/repos/brianbao/google-auth-library-python/assignees{/user}","branches_url":"https://api.github.com/repos/brianbao/google-auth-library-python/branches{/branch}","tags_url":"https://api.github.com/repos/brianbao/google-auth-library-python/tags","blobs_url":"https://api.github.com/repos/brianbao/google-auth-library-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brianbao/google-auth-library-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brianbao/google-auth-library-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/brianbao/google-auth-library-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brianbao/google-auth-library-python/statuses/{sha}","languages_url":"https://api.github.com/repos/brianbao/google-auth-library-python/languages","stargazers_url":"https://api.github.com/repos/brianbao/google-auth-library-python/stargazers","contributors_url":"https://api.github.com/repos/brianbao/google-auth-library-python/contributors","subscribers_url":"https://api.github.com/repos/brianbao/google-auth-library-python/subscribers","subscription_url":"https://api.github.com/repos/brianbao/google-auth-library-python/subscription","commits_url":"https://api.github.com/repos/brianbao/google-auth-library-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/brianbao/google-auth-library-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/brianbao/google-auth-library-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/brianbao/google-auth-library-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/brianbao/google-auth-library-python/contents/{+path}","compare_url":"https://api.github.com/repos/brianbao/google-auth-library-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brianbao/google-auth-library-python/merges","archive_url":"https://api.github.com/repos/brianbao/google-auth-library-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brianbao/google-auth-library-python/downloads","issues_url":"https://api.github.com/repos/brianbao/google-auth-library-python/issues{/number}","pulls_url":"https://api.github.com/repos/brianbao/google-auth-library-python/pulls{/number}","milestones_url":"https://api.github.com/repos/brianbao/google-auth-library-python/milestones{/number}","notifications_url":"https://api.github.com/repos/brianbao/google-auth-library-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brianbao/google-auth-library-python/labels{/name}","releases_url":"https://api.github.com/repos/brianbao/google-auth-library-python/releases{/id}","deployments_url":"https://api.github.com/repos/brianbao/google-auth-library-python/deployments","created_at":"2018-10-25T20:45:30Z","updated_at":"2018-11-13T22:19:45Z","pushed_at":"2018-11-13T22:19:43Z","git_url":"git://github.com/brianbao/google-auth-library-python.git","ssh_url":"git@github.com:brianbao/google-auth-library-python.git","clone_url":"https://github.com/brianbao/google-auth-library-python.git","svn_url":"https://github.com/brianbao/google-auth-library-python","homepage":"https://google-auth.readthedocs.io","size":433,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"googleapis:master","ref":"master","sha":"9cdfaaaf5827cbc3c96126e0a2605eba62c3eb89","user":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"repo":{"id":69199387,"node_id":"MDEwOlJlcG9zaXRvcnk2OTE5OTM4Nw==","name":"google-auth-library-python","full_name":"googleapis/google-auth-library-python","private":false,"owner":{"login":"googleapis","id":16785467,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2Nzg1NDY3","avatar_url":"https://avatars3.githubusercontent.com/u/16785467?v=4","gravatar_id":"","url":"https://api.github.com/users/googleapis","html_url":"https://github.com/googleapis","followers_url":"https://api.github.com/users/googleapis/followers","following_url":"https://api.github.com/users/googleapis/following{/other_user}","gists_url":"https://api.github.com/users/googleapis/gists{/gist_id}","starred_url":"https://api.github.com/users/googleapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/googleapis/subscriptions","organizations_url":"https://api.github.com/users/googleapis/orgs","repos_url":"https://api.github.com/users/googleapis/repos","events_url":"https://api.github.com/users/googleapis/events{/privacy}","received_events_url":"https://api.github.com/users/googleapis/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/googleapis/google-auth-library-python","description":"Google Auth Python Library","fork":false,"url":"https://api.github.com/repos/googleapis/google-auth-library-python","forks_url":"https://api.github.com/repos/googleapis/google-auth-library-python/forks","keys_url":"https://api.github.com/repos/googleapis/google-auth-library-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/googleapis/google-auth-library-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/googleapis/google-auth-library-python/teams","hooks_url":"https://api.github.com/repos/googleapis/google-auth-library-python/hooks","issue_events_url":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/events{/number}","events_url":"https://api.github.com/repos/googleapis/google-auth-library-python/events","assignees_url":"https://api.github.com/repos/googleapis/google-auth-library-python/assignees{/user}","branches_url":"https://api.github.com/repos/googleapis/google-auth-library-python/branches{/branch}","tags_url":"https://api.github.com/repos/googleapis/google-auth-library-python/tags","blobs_url":"https://api.github.com/repos/googleapis/google-auth-library-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/googleapis/google-auth-library-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/googleapis/google-auth-library-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/googleapis/google-auth-library-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/googleapis/google-auth-library-python/statuses/{sha}","languages_url":"https://api.github.com/repos/googleapis/google-auth-library-python/languages","stargazers_url":"https://api.github.com/repos/googleapis/google-auth-library-python/stargazers","contributors_url":"https://api.github.com/repos/googleapis/google-auth-library-python/contributors","subscribers_url":"https://api.github.com/repos/googleapis/google-auth-library-python/subscribers","subscription_url":"https://api.github.com/repos/googleapis/google-auth-library-python/subscription","commits_url":"https://api.github.com/repos/googleapis/google-auth-library-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/googleapis/google-auth-library-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/googleapis/google-auth-library-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/googleapis/google-auth-library-python/contents/{+path}","compare_url":"https://api.github.com/repos/googleapis/google-auth-library-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/googleapis/google-auth-library-python/merges","archive_url":"https://api.github.com/repos/googleapis/google-auth-library-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/googleapis/google-auth-library-python/downloads","issues_url":"https://api.github.com/repos/googleapis/google-auth-library-python/issues{/number}","pulls_url":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls{/number}","milestones_url":"https://api.github.com/repos/googleapis/google-auth-library-python/milestones{/number}","notifications_url":"https://api.github.com/repos/googleapis/google-auth-library-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/googleapis/google-auth-library-python/labels{/name}","releases_url":"https://api.github.com/repos/googleapis/google-auth-library-python/releases{/id}","deployments_url":"https://api.github.com/repos/googleapis/google-auth-library-python/deployments","created_at":"2016-09-26T00:38:59Z","updated_at":"2018-11-13T18:17:50Z","pushed_at":"2018-11-13T22:19:45Z","git_url":"git://github.com/googleapis/google-auth-library-python.git","ssh_url":"git@github.com:googleapis/google-auth-library-python.git","clone_url":"https://github.com/googleapis/google-auth-library-python.git","svn_url":"https://github.com/googleapis/google-auth-library-python","homepage":"https://google-auth.readthedocs.io","size":459,"stargazers_count":178,"watchers_count":178,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":83,"mirror_url":null,"archived":false,"open_issues_count":16,"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":83,"open_issues":16,"watchers":178,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306"},"html":{"href":"https://github.com/googleapis/google-auth-library-python/pull/306"},"issue":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/306"},"comments":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/issues/306/comments"},"review_comments":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306/comments"},"review_comment":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/pulls/306/commits"},"statuses":{"href":"https://api.github.com/repos/googleapis/google-auth-library-python/statuses/4d1baf4bd131ddb9bc1d99cda5de3aecae9d9063"}},"author_association":"NONE"}}
{"actor":{"display_login":"brianbao"}}