{"action":"created","comment":{"url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/comments/22769679","id":22769679,"diff_hunk":"@@ -116,6 +116,26 @@ def RequestSupported(self, command_class):\n     \"\"\"Check if this PID allows a command class.\"\"\"\n     return self._requests.get(command_class) is not None\n \n+  def GetRequest(self, command_class):\n+    return self._requests.get(command_class)\n+\n+  def GetRequestField(self, command_class, field_name):\n+    field = filter(lambda field: field.name == field_name,\n+                   self._requests.get(command_class).GetAtoms())","path":"python/ola/PidStore.py","position":9,"original_position":9,"commit_id":"c7abd43e6a708c2bed81b596f61af08186ff01cc","original_commit_id":"02da6ca82f4010abae39afcba9fae2e056dd1c20","user":{"login":"peternewman","id":6216436,"avatar_url":"https://avatars.githubusercontent.com/u/6216436?v=3","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-01-11T20:17:11Z","updated_at":"2015-01-11T20:17:11Z","html_url":"https://github.com/OpenLightingProject/ola/pull/575#discussion_r22769679","pull_request_url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575","_links":{"self":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/comments/22769679"},"html":{"href":"https://github.com/OpenLightingProject/ola/pull/575#discussion_r22769679"},"pull_request":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575"}}},"pull_request":{"url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575","id":26015448,"html_url":"https://github.com/OpenLightingProject/ola/pull/575","diff_url":"https://github.com/OpenLightingProject/ola/pull/575.diff","patch_url":"https://github.com/OpenLightingProject/ola/pull/575.patch","issue_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/575","number":575,"state":"open","locked":false,"title":"Fix the PRESET_INFO test bug","user":{"login":"peternewman","id":6216436,"avatar_url":"https://avatars.githubusercontent.com/u/6216436?v=3","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"body":"","created_at":"2014-12-13T02:11:03Z","updated_at":"2015-01-11T20:17:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5625a34e603bd055d6b1ffabbc25916e3ec2d3d","assignee":{"login":"nomis52","id":4355332,"avatar_url":"https://avatars.githubusercontent.com/u/4355332?v=3","gravatar_id":"","url":"https://api.github.com/users/nomis52","html_url":"https://github.com/nomis52","followers_url":"https://api.github.com/users/nomis52/followers","following_url":"https://api.github.com/users/nomis52/following{/other_user}","gists_url":"https://api.github.com/users/nomis52/gists{/gist_id}","starred_url":"https://api.github.com/users/nomis52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomis52/subscriptions","organizations_url":"https://api.github.com/users/nomis52/orgs","repos_url":"https://api.github.com/users/nomis52/repos","events_url":"https://api.github.com/users/nomis52/events{/privacy}","received_events_url":"https://api.github.com/users/nomis52/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/OpenLightingProject/ola/milestones/1","labels_url":"https://api.github.com/repos/OpenLightingProject/ola/milestones/1/labels","id":894103,"number":1,"title":"0.9.4","description":"Next release. Mostly feature orientated.","creator":{"login":"nomis52","id":4355332,"avatar_url":"https://avatars.githubusercontent.com/u/4355332?v=3","gravatar_id":"","url":"https://api.github.com/users/nomis52","html_url":"https://github.com/nomis52","followers_url":"https://api.github.com/users/nomis52/followers","following_url":"https://api.github.com/users/nomis52/following{/other_user}","gists_url":"https://api.github.com/users/nomis52/gists{/gist_id}","starred_url":"https://api.github.com/users/nomis52/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomis52/subscriptions","organizations_url":"https://api.github.com/users/nomis52/orgs","repos_url":"https://api.github.com/users/nomis52/repos","events_url":"https://api.github.com/users/nomis52/events{/privacy}","received_events_url":"https://api.github.com/users/nomis52/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":11,"state":"open","created_at":"2014-12-06T17:40:20Z","updated_at":"2015-01-11T18:37:53Z","due_on":"2014-12-31T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575/commits","review_comments_url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575/comments","review_comment_url":"https://api.github.com/repos/OpenLightingProject/ola/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/575/comments","statuses_url":"https://api.github.com/repos/OpenLightingProject/ola/statuses/c7abd43e6a708c2bed81b596f61af08186ff01cc","head":{"label":"peternewman:e1.37-2","ref":"e1.37-2","sha":"c7abd43e6a708c2bed81b596f61af08186ff01cc","user":{"login":"peternewman","id":6216436,"avatar_url":"https://avatars.githubusercontent.com/u/6216436?v=3","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"repo":{"id":15289534,"name":"ola","full_name":"peternewman/ola","owner":{"login":"peternewman","id":6216436,"avatar_url":"https://avatars.githubusercontent.com/u/6216436?v=3","gravatar_id":"","url":"https://api.github.com/users/peternewman","html_url":"https://github.com/peternewman","followers_url":"https://api.github.com/users/peternewman/followers","following_url":"https://api.github.com/users/peternewman/following{/other_user}","gists_url":"https://api.github.com/users/peternewman/gists{/gist_id}","starred_url":"https://api.github.com/users/peternewman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peternewman/subscriptions","organizations_url":"https://api.github.com/users/peternewman/orgs","repos_url":"https://api.github.com/users/peternewman/repos","events_url":"https://api.github.com/users/peternewman/events{/privacy}","received_events_url":"https://api.github.com/users/peternewman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/peternewman/ola","description":"Peter's OLA fork","fork":true,"url":"https://api.github.com/repos/peternewman/ola","forks_url":"https://api.github.com/repos/peternewman/ola/forks","keys_url":"https://api.github.com/repos/peternewman/ola/keys{/key_id}","collaborators_url":"https://api.github.com/repos/peternewman/ola/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/peternewman/ola/teams","hooks_url":"https://api.github.com/repos/peternewman/ola/hooks","issue_events_url":"https://api.github.com/repos/peternewman/ola/issues/events{/number}","events_url":"https://api.github.com/repos/peternewman/ola/events","assignees_url":"https://api.github.com/repos/peternewman/ola/assignees{/user}","branches_url":"https://api.github.com/repos/peternewman/ola/branches{/branch}","tags_url":"https://api.github.com/repos/peternewman/ola/tags","blobs_url":"https://api.github.com/repos/peternewman/ola/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/peternewman/ola/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/peternewman/ola/git/refs{/sha}","trees_url":"https://api.github.com/repos/peternewman/ola/git/trees{/sha}","statuses_url":"https://api.github.com/repos/peternewman/ola/statuses/{sha}","languages_url":"https://api.github.com/repos/peternewman/ola/languages","stargazers_url":"https://api.github.com/repos/peternewman/ola/stargazers","contributors_url":"https://api.github.com/repos/peternewman/ola/contributors","subscribers_url":"https://api.github.com/repos/peternewman/ola/subscribers","subscription_url":"https://api.github.com/repos/peternewman/ola/subscription","commits_url":"https://api.github.com/repos/peternewman/ola/commits{/sha}","git_commits_url":"https://api.github.com/repos/peternewman/ola/git/commits{/sha}","comments_url":"https://api.github.com/repos/peternewman/ola/comments{/number}","issue_comment_url":"https://api.github.com/repos/peternewman/ola/issues/comments/{number}","contents_url":"https://api.github.com/repos/peternewman/ola/contents/{+path}","compare_url":"https://api.github.com/repos/peternewman/ola/compare/{base}...{head}","merges_url":"https://api.github.com/repos/peternewman/ola/merges","archive_url":"https://api.github.com/repos/peternewman/ola/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/peternewman/ola/downloads","issues_url":"https://api.github.com/repos/peternewman/ola/issues{/number}","pulls_url":"https://api.github.com/repos/peternewman/ola/pulls{/number}","milestones_url":"https://api.github.com/repos/peternewman/ola/milestones{/number}","notifications_url":"https://api.github.com/repos/peternewman/ola/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/peternewman/ola/labels{/name}","releases_url":"https://api.github.com/repos/peternewman/ola/releases{/id}","created_at":"2013-12-18T17:23:15Z","updated_at":"2014-06-23T00:52:12Z","pushed_at":"2015-01-11T20:04:51Z","git_url":"git://github.com/peternewman/ola.git","ssh_url":"git@github.com:peternewman/ola.git","clone_url":"https://github.com/peternewman/ola.git","svn_url":"https://github.com/peternewman/ola","homepage":"","size":17859,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"OpenLightingProject:master","ref":"master","sha":"ee19c05e4b9ec6fe15155ac91ff6c372831dc836","user":{"login":"OpenLightingProject","id":6199314,"avatar_url":"https://avatars.githubusercontent.com/u/6199314?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenLightingProject","html_url":"https://github.com/OpenLightingProject","followers_url":"https://api.github.com/users/OpenLightingProject/followers","following_url":"https://api.github.com/users/OpenLightingProject/following{/other_user}","gists_url":"https://api.github.com/users/OpenLightingProject/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenLightingProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenLightingProject/subscriptions","organizations_url":"https://api.github.com/users/OpenLightingProject/orgs","repos_url":"https://api.github.com/users/OpenLightingProject/repos","events_url":"https://api.github.com/users/OpenLightingProject/events{/privacy}","received_events_url":"https://api.github.com/users/OpenLightingProject/received_events","type":"Organization","site_admin":false},"repo":{"id":15233168,"name":"ola","full_name":"OpenLightingProject/ola","owner":{"login":"OpenLightingProject","id":6199314,"avatar_url":"https://avatars.githubusercontent.com/u/6199314?v=3","gravatar_id":"","url":"https://api.github.com/users/OpenLightingProject","html_url":"https://github.com/OpenLightingProject","followers_url":"https://api.github.com/users/OpenLightingProject/followers","following_url":"https://api.github.com/users/OpenLightingProject/following{/other_user}","gists_url":"https://api.github.com/users/OpenLightingProject/gists{/gist_id}","starred_url":"https://api.github.com/users/OpenLightingProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OpenLightingProject/subscriptions","organizations_url":"https://api.github.com/users/OpenLightingProject/orgs","repos_url":"https://api.github.com/users/OpenLightingProject/repos","events_url":"https://api.github.com/users/OpenLightingProject/events{/privacy}","received_events_url":"https://api.github.com/users/OpenLightingProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OpenLightingProject/ola","description":"The Open Lighting Architecture","fork":false,"url":"https://api.github.com/repos/OpenLightingProject/ola","forks_url":"https://api.github.com/repos/OpenLightingProject/ola/forks","keys_url":"https://api.github.com/repos/OpenLightingProject/ola/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OpenLightingProject/ola/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OpenLightingProject/ola/teams","hooks_url":"https://api.github.com/repos/OpenLightingProject/ola/hooks","issue_events_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/events{/number}","events_url":"https://api.github.com/repos/OpenLightingProject/ola/events","assignees_url":"https://api.github.com/repos/OpenLightingProject/ola/assignees{/user}","branches_url":"https://api.github.com/repos/OpenLightingProject/ola/branches{/branch}","tags_url":"https://api.github.com/repos/OpenLightingProject/ola/tags","blobs_url":"https://api.github.com/repos/OpenLightingProject/ola/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OpenLightingProject/ola/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OpenLightingProject/ola/git/refs{/sha}","trees_url":"https://api.github.com/repos/OpenLightingProject/ola/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OpenLightingProject/ola/statuses/{sha}","languages_url":"https://api.github.com/repos/OpenLightingProject/ola/languages","stargazers_url":"https://api.github.com/repos/OpenLightingProject/ola/stargazers","contributors_url":"https://api.github.com/repos/OpenLightingProject/ola/contributors","subscribers_url":"https://api.github.com/repos/OpenLightingProject/ola/subscribers","subscription_url":"https://api.github.com/repos/OpenLightingProject/ola/subscription","commits_url":"https://api.github.com/repos/OpenLightingProject/ola/commits{/sha}","git_commits_url":"https://api.github.com/repos/OpenLightingProject/ola/git/commits{/sha}","comments_url":"https://api.github.com/repos/OpenLightingProject/ola/comments{/number}","issue_comment_url":"https://api.github.com/repos/OpenLightingProject/ola/issues/comments/{number}","contents_url":"https://api.github.com/repos/OpenLightingProject/ola/contents/{+path}","compare_url":"https://api.github.com/repos/OpenLightingProject/ola/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OpenLightingProject/ola/merges","archive_url":"https://api.github.com/repos/OpenLightingProject/ola/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OpenLightingProject/ola/downloads","issues_url":"https://api.github.com/repos/OpenLightingProject/ola/issues{/number}","pulls_url":"https://api.github.com/repos/OpenLightingProject/ola/pulls{/number}","milestones_url":"https://api.github.com/repos/OpenLightingProject/ola/milestones{/number}","notifications_url":"https://api.github.com/repos/OpenLightingProject/ola/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OpenLightingProject/ola/labels{/name}","releases_url":"https://api.github.com/repos/OpenLightingProject/ola/releases{/id}","created_at":"2013-12-16T18:06:52Z","updated_at":"2015-01-11T18:37:55Z","pushed_at":"2015-01-11T18:37:55Z","git_url":"git://github.com/OpenLightingProject/ola.git","ssh_url":"git@github.com:OpenLightingProject/ola.git","clone_url":"https://github.com/OpenLightingProject/ola.git","svn_url":"https://github.com/OpenLightingProject/ola","homepage":null,"size":19829,"stargazers_count":62,"watchers_count":62,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":72,"forks":36,"open_issues":72,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575"},"html":{"href":"https://github.com/OpenLightingProject/ola/pull/575"},"issue":{"href":"https://api.github.com/repos/OpenLightingProject/ola/issues/575"},"comments":{"href":"https://api.github.com/repos/OpenLightingProject/ola/issues/575/comments"},"review_comments":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575/comments"},"review_comment":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OpenLightingProject/ola/pulls/575/commits"},"statuses":{"href":"https://api.github.com/repos/OpenLightingProject/ola/statuses/c7abd43e6a708c2bed81b596f61af08186ff01cc"}}}}