{"action":"created","comment":{"url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/comments/32599525","id":32599525,"diff_hunk":"@@ -107,6 +107,14 @@ def handshake(self):\n             self._socket = self._connect()\n         return self.call('handshake', {\"Version\": 1}, expect_body=False)\n \n+    def auth(self, auth_key):","path":"serfclient/connection.py","position":4,"original_position":4,"commit_id":"1970c1456f14626d870a41fe1bdda5d7f4cb19d1","original_commit_id":"1970c1456f14626d870a41fe1bdda5d7f4cb19d1","user":{"login":"KushalP","id":138382,"avatar_url":"https://avatars.githubusercontent.com/u/138382?v=3","gravatar_id":"","url":"https://api.github.com/users/KushalP","html_url":"https://github.com/KushalP","followers_url":"https://api.github.com/users/KushalP/followers","following_url":"https://api.github.com/users/KushalP/following{/other_user}","gists_url":"https://api.github.com/users/KushalP/gists{/gist_id}","starred_url":"https://api.github.com/users/KushalP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KushalP/subscriptions","organizations_url":"https://api.github.com/users/KushalP/orgs","repos_url":"https://api.github.com/users/KushalP/repos","events_url":"https://api.github.com/users/KushalP/events{/privacy}","received_events_url":"https://api.github.com/users/KushalP/received_events","type":"User","site_admin":false},"body":"Ah, good point.","created_at":"2015-06-17T06:57:52Z","updated_at":"2015-06-17T06:57:52Z","html_url":"https://github.com/KushalP/serfclient-py/pull/12#discussion_r32599525","pull_request_url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/comments/32599525"},"html":{"href":"https://github.com/KushalP/serfclient-py/pull/12#discussion_r32599525"},"pull_request":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12","id":37864477,"html_url":"https://github.com/KushalP/serfclient-py/pull/12","diff_url":"https://github.com/KushalP/serfclient-py/pull/12.diff","patch_url":"https://github.com/KushalP/serfclient-py/pull/12.patch","issue_url":"https://api.github.com/repos/KushalP/serfclient-py/issues/12","number":12,"state":"open","locked":false,"title":"Add rpc_auth parameter to SerfClient.__init__","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"body":"This allows passing an RPC auth token, as described at\r\nhttps://www.serfdom.io/docs/commands/members.html#_rpc_auth\r\n\r\nThis replaces #11.","created_at":"2015-06-17T04:18:36Z","updated_at":"2015-06-17T06:57:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e47f258a02ceac4ab247c1ed31b07ab7df71f9ba","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12/commits","review_comments_url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12/comments","review_comment_url":"https://api.github.com/repos/KushalP/serfclient-py/pulls/comments{/number}","comments_url":"https://api.github.com/repos/KushalP/serfclient-py/issues/12/comments","statuses_url":"https://api.github.com/repos/KushalP/serfclient-py/statuses/1970c1456f14626d870a41fe1bdda5d7f4cb19d1","head":{"label":"msabramo:rpc_auth","ref":"rpc_auth","sha":"1970c1456f14626d870a41fe1bdda5d7f4cb19d1","user":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"repo":{"id":37542074,"name":"serfclient-py","full_name":"msabramo/serfclient-py","owner":{"login":"msabramo","id":305268,"avatar_url":"https://avatars.githubusercontent.com/u/305268?v=3","gravatar_id":"","url":"https://api.github.com/users/msabramo","html_url":"https://github.com/msabramo","followers_url":"https://api.github.com/users/msabramo/followers","following_url":"https://api.github.com/users/msabramo/following{/other_user}","gists_url":"https://api.github.com/users/msabramo/gists{/gist_id}","starred_url":"https://api.github.com/users/msabramo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msabramo/subscriptions","organizations_url":"https://api.github.com/users/msabramo/orgs","repos_url":"https://api.github.com/users/msabramo/repos","events_url":"https://api.github.com/users/msabramo/events{/privacy}","received_events_url":"https://api.github.com/users/msabramo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/msabramo/serfclient-py","description":"Python client for the Serf orchestration tool","fork":true,"url":"https://api.github.com/repos/msabramo/serfclient-py","forks_url":"https://api.github.com/repos/msabramo/serfclient-py/forks","keys_url":"https://api.github.com/repos/msabramo/serfclient-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/msabramo/serfclient-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/msabramo/serfclient-py/teams","hooks_url":"https://api.github.com/repos/msabramo/serfclient-py/hooks","issue_events_url":"https://api.github.com/repos/msabramo/serfclient-py/issues/events{/number}","events_url":"https://api.github.com/repos/msabramo/serfclient-py/events","assignees_url":"https://api.github.com/repos/msabramo/serfclient-py/assignees{/user}","branches_url":"https://api.github.com/repos/msabramo/serfclient-py/branches{/branch}","tags_url":"https://api.github.com/repos/msabramo/serfclient-py/tags","blobs_url":"https://api.github.com/repos/msabramo/serfclient-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/msabramo/serfclient-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/msabramo/serfclient-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/msabramo/serfclient-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/msabramo/serfclient-py/statuses/{sha}","languages_url":"https://api.github.com/repos/msabramo/serfclient-py/languages","stargazers_url":"https://api.github.com/repos/msabramo/serfclient-py/stargazers","contributors_url":"https://api.github.com/repos/msabramo/serfclient-py/contributors","subscribers_url":"https://api.github.com/repos/msabramo/serfclient-py/subscribers","subscription_url":"https://api.github.com/repos/msabramo/serfclient-py/subscription","commits_url":"https://api.github.com/repos/msabramo/serfclient-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/msabramo/serfclient-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/msabramo/serfclient-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/msabramo/serfclient-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/msabramo/serfclient-py/contents/{+path}","compare_url":"https://api.github.com/repos/msabramo/serfclient-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/msabramo/serfclient-py/merges","archive_url":"https://api.github.com/repos/msabramo/serfclient-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/msabramo/serfclient-py/downloads","issues_url":"https://api.github.com/repos/msabramo/serfclient-py/issues{/number}","pulls_url":"https://api.github.com/repos/msabramo/serfclient-py/pulls{/number}","milestones_url":"https://api.github.com/repos/msabramo/serfclient-py/milestones{/number}","notifications_url":"https://api.github.com/repos/msabramo/serfclient-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/msabramo/serfclient-py/labels{/name}","releases_url":"https://api.github.com/repos/msabramo/serfclient-py/releases{/id}","created_at":"2015-06-16T16:26:57Z","updated_at":"2015-06-16T16:26:57Z","pushed_at":"2015-06-17T06:53:46Z","git_url":"git://github.com/msabramo/serfclient-py.git","ssh_url":"git@github.com:msabramo/serfclient-py.git","clone_url":"https://github.com/msabramo/serfclient-py.git","svn_url":"https://github.com/msabramo/serfclient-py","homepage":null,"size":136,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"KushalP:master","ref":"master","sha":"320bca3e64c026d4b7f3ed4437a36e3d41abb9a3","user":{"login":"KushalP","id":138382,"avatar_url":"https://avatars.githubusercontent.com/u/138382?v=3","gravatar_id":"","url":"https://api.github.com/users/KushalP","html_url":"https://github.com/KushalP","followers_url":"https://api.github.com/users/KushalP/followers","following_url":"https://api.github.com/users/KushalP/following{/other_user}","gists_url":"https://api.github.com/users/KushalP/gists{/gist_id}","starred_url":"https://api.github.com/users/KushalP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KushalP/subscriptions","organizations_url":"https://api.github.com/users/KushalP/orgs","repos_url":"https://api.github.com/users/KushalP/repos","events_url":"https://api.github.com/users/KushalP/events{/privacy}","received_events_url":"https://api.github.com/users/KushalP/received_events","type":"User","site_admin":false},"repo":{"id":16647994,"name":"serfclient-py","full_name":"KushalP/serfclient-py","owner":{"login":"KushalP","id":138382,"avatar_url":"https://avatars.githubusercontent.com/u/138382?v=3","gravatar_id":"","url":"https://api.github.com/users/KushalP","html_url":"https://github.com/KushalP","followers_url":"https://api.github.com/users/KushalP/followers","following_url":"https://api.github.com/users/KushalP/following{/other_user}","gists_url":"https://api.github.com/users/KushalP/gists{/gist_id}","starred_url":"https://api.github.com/users/KushalP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KushalP/subscriptions","organizations_url":"https://api.github.com/users/KushalP/orgs","repos_url":"https://api.github.com/users/KushalP/repos","events_url":"https://api.github.com/users/KushalP/events{/privacy}","received_events_url":"https://api.github.com/users/KushalP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KushalP/serfclient-py","description":"Python client for the Serf orchestration tool","fork":false,"url":"https://api.github.com/repos/KushalP/serfclient-py","forks_url":"https://api.github.com/repos/KushalP/serfclient-py/forks","keys_url":"https://api.github.com/repos/KushalP/serfclient-py/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KushalP/serfclient-py/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KushalP/serfclient-py/teams","hooks_url":"https://api.github.com/repos/KushalP/serfclient-py/hooks","issue_events_url":"https://api.github.com/repos/KushalP/serfclient-py/issues/events{/number}","events_url":"https://api.github.com/repos/KushalP/serfclient-py/events","assignees_url":"https://api.github.com/repos/KushalP/serfclient-py/assignees{/user}","branches_url":"https://api.github.com/repos/KushalP/serfclient-py/branches{/branch}","tags_url":"https://api.github.com/repos/KushalP/serfclient-py/tags","blobs_url":"https://api.github.com/repos/KushalP/serfclient-py/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KushalP/serfclient-py/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KushalP/serfclient-py/git/refs{/sha}","trees_url":"https://api.github.com/repos/KushalP/serfclient-py/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KushalP/serfclient-py/statuses/{sha}","languages_url":"https://api.github.com/repos/KushalP/serfclient-py/languages","stargazers_url":"https://api.github.com/repos/KushalP/serfclient-py/stargazers","contributors_url":"https://api.github.com/repos/KushalP/serfclient-py/contributors","subscribers_url":"https://api.github.com/repos/KushalP/serfclient-py/subscribers","subscription_url":"https://api.github.com/repos/KushalP/serfclient-py/subscription","commits_url":"https://api.github.com/repos/KushalP/serfclient-py/commits{/sha}","git_commits_url":"https://api.github.com/repos/KushalP/serfclient-py/git/commits{/sha}","comments_url":"https://api.github.com/repos/KushalP/serfclient-py/comments{/number}","issue_comment_url":"https://api.github.com/repos/KushalP/serfclient-py/issues/comments{/number}","contents_url":"https://api.github.com/repos/KushalP/serfclient-py/contents/{+path}","compare_url":"https://api.github.com/repos/KushalP/serfclient-py/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KushalP/serfclient-py/merges","archive_url":"https://api.github.com/repos/KushalP/serfclient-py/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KushalP/serfclient-py/downloads","issues_url":"https://api.github.com/repos/KushalP/serfclient-py/issues{/number}","pulls_url":"https://api.github.com/repos/KushalP/serfclient-py/pulls{/number}","milestones_url":"https://api.github.com/repos/KushalP/serfclient-py/milestones{/number}","notifications_url":"https://api.github.com/repos/KushalP/serfclient-py/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KushalP/serfclient-py/labels{/name}","releases_url":"https://api.github.com/repos/KushalP/serfclient-py/releases{/id}","created_at":"2014-02-08T17:05:36Z","updated_at":"2015-02-24T15:36:37Z","pushed_at":"2015-06-17T06:53:46Z","git_url":"git://github.com/KushalP/serfclient-py.git","ssh_url":"git@github.com:KushalP/serfclient-py.git","clone_url":"https://github.com/KushalP/serfclient-py.git","svn_url":"https://github.com/KushalP/serfclient-py","homepage":null,"size":723,"stargazers_count":11,"watchers_count":11,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12"},"html":{"href":"https://github.com/KushalP/serfclient-py/pull/12"},"issue":{"href":"https://api.github.com/repos/KushalP/serfclient-py/issues/12"},"comments":{"href":"https://api.github.com/repos/KushalP/serfclient-py/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/KushalP/serfclient-py/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/KushalP/serfclient-py/statuses/1970c1456f14626d870a41fe1bdda5d7f4cb19d1"}}}}