{"action":"created","comment":{"url":"https://api.github.com/repos/meejah/txtorcon/pulls/comments/35446714","id":35446714,"diff_hunk":"@@ -87,6 +87,8 @@ class Event(object):\n     A class representing one of the valid EVENTs that Tor\n     supports.\n \n+    The event information is parsed into a stem.response.ControlMessage\n+    instance.\n     This allows you to listen for such an event; see","path":"txtorcon/torcontrolprotocol.py","position":6,"original_position":6,"commit_id":"24bdf31362c87a6469fc5af89b4d91b2582e0a81","original_commit_id":"24bdf31362c87a6469fc5af89b4d91b2582e0a81","user":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"body":"This is incorrect doc now","created_at":"2015-07-24T17:43:17Z","updated_at":"2015-07-24T17:43:17Z","html_url":"https://github.com/meejah/txtorcon/pull/122#discussion_r35446714","pull_request_url":"https://api.github.com/repos/meejah/txtorcon/pulls/122","_links":{"self":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/comments/35446714"},"html":{"href":"https://github.com/meejah/txtorcon/pull/122#discussion_r35446714"},"pull_request":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/122"}}},"pull_request":{"url":"https://api.github.com/repos/meejah/txtorcon/pulls/122","id":39986398,"html_url":"https://github.com/meejah/txtorcon/pull/122","diff_url":"https://github.com/meejah/txtorcon/pull/122.diff","patch_url":"https://github.com/meejah/txtorcon/pull/122.patch","issue_url":"https://api.github.com/repos/meejah/txtorcon/issues/122","number":122,"state":"open","locked":false,"title":"Convert event into Stem class","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"body":"Changes made in the PR:\r\n* The data received in `got_update()` is now added with the response code and the event name. The end of each line of the data is added with `\\r\\n`\r\n* The `response_data` is then parsed into the `ControlMessage` class of Stem and is then converted to the subclass using `stem.response.convert`.\r\n\r\nTODO:\r\n* The converted `response_data` should be passed to `cb()` appropriately.","created_at":"2015-07-15T04:02:36Z","updated_at":"2015-07-24T17:43:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef620100c6c8e5b83f0081265ab5f5acd52dcd1b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/meejah/txtorcon/pulls/122/commits","review_comments_url":"https://api.github.com/repos/meejah/txtorcon/pulls/122/comments","review_comment_url":"https://api.github.com/repos/meejah/txtorcon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/meejah/txtorcon/issues/122/comments","statuses_url":"https://api.github.com/repos/meejah/txtorcon/statuses/24bdf31362c87a6469fc5af89b4d91b2582e0a81","head":{"label":"sammyshj:stemevents","ref":"stemevents","sha":"24bdf31362c87a6469fc5af89b4d91b2582e0a81","user":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"repo":{"id":28791666,"name":"txtorcon","full_name":"sammyshj/txtorcon","owner":{"login":"sammyshj","id":4390022,"avatar_url":"https://avatars.githubusercontent.com/u/4390022?v=3","gravatar_id":"","url":"https://api.github.com/users/sammyshj","html_url":"https://github.com/sammyshj","followers_url":"https://api.github.com/users/sammyshj/followers","following_url":"https://api.github.com/users/sammyshj/following{/other_user}","gists_url":"https://api.github.com/users/sammyshj/gists{/gist_id}","starred_url":"https://api.github.com/users/sammyshj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sammyshj/subscriptions","organizations_url":"https://api.github.com/users/sammyshj/orgs","repos_url":"https://api.github.com/users/sammyshj/repos","events_url":"https://api.github.com/users/sammyshj/events{/privacy}","received_events_url":"https://api.github.com/users/sammyshj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sammyshj/txtorcon","description":"Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.","fork":true,"url":"https://api.github.com/repos/sammyshj/txtorcon","forks_url":"https://api.github.com/repos/sammyshj/txtorcon/forks","keys_url":"https://api.github.com/repos/sammyshj/txtorcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sammyshj/txtorcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sammyshj/txtorcon/teams","hooks_url":"https://api.github.com/repos/sammyshj/txtorcon/hooks","issue_events_url":"https://api.github.com/repos/sammyshj/txtorcon/issues/events{/number}","events_url":"https://api.github.com/repos/sammyshj/txtorcon/events","assignees_url":"https://api.github.com/repos/sammyshj/txtorcon/assignees{/user}","branches_url":"https://api.github.com/repos/sammyshj/txtorcon/branches{/branch}","tags_url":"https://api.github.com/repos/sammyshj/txtorcon/tags","blobs_url":"https://api.github.com/repos/sammyshj/txtorcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sammyshj/txtorcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sammyshj/txtorcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/sammyshj/txtorcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sammyshj/txtorcon/statuses/{sha}","languages_url":"https://api.github.com/repos/sammyshj/txtorcon/languages","stargazers_url":"https://api.github.com/repos/sammyshj/txtorcon/stargazers","contributors_url":"https://api.github.com/repos/sammyshj/txtorcon/contributors","subscribers_url":"https://api.github.com/repos/sammyshj/txtorcon/subscribers","subscription_url":"https://api.github.com/repos/sammyshj/txtorcon/subscription","commits_url":"https://api.github.com/repos/sammyshj/txtorcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/sammyshj/txtorcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/sammyshj/txtorcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/sammyshj/txtorcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/sammyshj/txtorcon/contents/{+path}","compare_url":"https://api.github.com/repos/sammyshj/txtorcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sammyshj/txtorcon/merges","archive_url":"https://api.github.com/repos/sammyshj/txtorcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sammyshj/txtorcon/downloads","issues_url":"https://api.github.com/repos/sammyshj/txtorcon/issues{/number}","pulls_url":"https://api.github.com/repos/sammyshj/txtorcon/pulls{/number}","milestones_url":"https://api.github.com/repos/sammyshj/txtorcon/milestones{/number}","notifications_url":"https://api.github.com/repos/sammyshj/txtorcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sammyshj/txtorcon/labels{/name}","releases_url":"https://api.github.com/repos/sammyshj/txtorcon/releases{/id}","created_at":"2015-01-05T01:10:57Z","updated_at":"2015-04-02T08:21:22Z","pushed_at":"2015-07-24T13:21:47Z","git_url":"git://github.com/sammyshj/txtorcon.git","ssh_url":"git@github.com:sammyshj/txtorcon.git","clone_url":"https://github.com/sammyshj/txtorcon.git","svn_url":"https://github.com/sammyshj/txtorcon","homepage":"http://timaq4ygg2iegci7.onion/","size":1936,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"meejah:optional-stem","ref":"optional-stem","sha":"8672ebab13d0911d7e5bd5e670faeee583d8a82f","user":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"repo":{"id":3852351,"name":"txtorcon","full_name":"meejah/txtorcon","owner":{"login":"meejah","id":145599,"avatar_url":"https://avatars.githubusercontent.com/u/145599?v=3","gravatar_id":"","url":"https://api.github.com/users/meejah","html_url":"https://github.com/meejah","followers_url":"https://api.github.com/users/meejah/followers","following_url":"https://api.github.com/users/meejah/following{/other_user}","gists_url":"https://api.github.com/users/meejah/gists{/gist_id}","starred_url":"https://api.github.com/users/meejah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/meejah/subscriptions","organizations_url":"https://api.github.com/users/meejah/orgs","repos_url":"https://api.github.com/users/meejah/repos","events_url":"https://api.github.com/users/meejah/events{/privacy}","received_events_url":"https://api.github.com/users/meejah/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/meejah/txtorcon","description":"Twisted-based asynchronous Tor control protocol implementation. Includes unit-tests, examples, state-tracking code and configuration abstraction.","fork":false,"url":"https://api.github.com/repos/meejah/txtorcon","forks_url":"https://api.github.com/repos/meejah/txtorcon/forks","keys_url":"https://api.github.com/repos/meejah/txtorcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/meejah/txtorcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/meejah/txtorcon/teams","hooks_url":"https://api.github.com/repos/meejah/txtorcon/hooks","issue_events_url":"https://api.github.com/repos/meejah/txtorcon/issues/events{/number}","events_url":"https://api.github.com/repos/meejah/txtorcon/events","assignees_url":"https://api.github.com/repos/meejah/txtorcon/assignees{/user}","branches_url":"https://api.github.com/repos/meejah/txtorcon/branches{/branch}","tags_url":"https://api.github.com/repos/meejah/txtorcon/tags","blobs_url":"https://api.github.com/repos/meejah/txtorcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/meejah/txtorcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/meejah/txtorcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/meejah/txtorcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/meejah/txtorcon/statuses/{sha}","languages_url":"https://api.github.com/repos/meejah/txtorcon/languages","stargazers_url":"https://api.github.com/repos/meejah/txtorcon/stargazers","contributors_url":"https://api.github.com/repos/meejah/txtorcon/contributors","subscribers_url":"https://api.github.com/repos/meejah/txtorcon/subscribers","subscription_url":"https://api.github.com/repos/meejah/txtorcon/subscription","commits_url":"https://api.github.com/repos/meejah/txtorcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/meejah/txtorcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/meejah/txtorcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/meejah/txtorcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/meejah/txtorcon/contents/{+path}","compare_url":"https://api.github.com/repos/meejah/txtorcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/meejah/txtorcon/merges","archive_url":"https://api.github.com/repos/meejah/txtorcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/meejah/txtorcon/downloads","issues_url":"https://api.github.com/repos/meejah/txtorcon/issues{/number}","pulls_url":"https://api.github.com/repos/meejah/txtorcon/pulls{/number}","milestones_url":"https://api.github.com/repos/meejah/txtorcon/milestones{/number}","notifications_url":"https://api.github.com/repos/meejah/txtorcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/meejah/txtorcon/labels{/name}","releases_url":"https://api.github.com/repos/meejah/txtorcon/releases{/id}","created_at":"2012-03-28T06:51:27Z","updated_at":"2015-07-07T01:52:01Z","pushed_at":"2015-07-24T13:21:47Z","git_url":"git://github.com/meejah/txtorcon.git","ssh_url":"git@github.com:meejah/txtorcon.git","clone_url":"https://github.com/meejah/txtorcon.git","svn_url":"https://github.com/meejah/txtorcon","homepage":"http://timaq4ygg2iegci7.onion/","size":2933,"stargazers_count":85,"watchers_count":85,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":19,"forks":24,"open_issues":19,"watchers":85,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/122"},"html":{"href":"https://github.com/meejah/txtorcon/pull/122"},"issue":{"href":"https://api.github.com/repos/meejah/txtorcon/issues/122"},"comments":{"href":"https://api.github.com/repos/meejah/txtorcon/issues/122/comments"},"review_comments":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/122/comments"},"review_comment":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/meejah/txtorcon/pulls/122/commits"},"statuses":{"href":"https://api.github.com/repos/meejah/txtorcon/statuses/24bdf31362c87a6469fc5af89b4d91b2582e0a81"}}}}