{"action":"created","comment":{"url":"https://api.github.com/repos/pioneers/PieCentral/pulls/comments/80375488","id":80375488,"diff_hunk":"@@ -32,12 +32,52 @@ def addPipe(self, processName, pipe):\n     self.processMapping[processName] = pipe\n     pipe.send(RUNTIME_CONFIG.PIPE_READY.value)\n \n-  def getValue(self, key):\n-    self.processMapping[PROCESS_NAMES.STUDENT_CODE].send(self.state[key])\n+  def getValue(self, keys):\n+    result = self.state\n+    i = 0","path":"runtime/testy/stateManager.py","position":17,"original_position":17,"commit_id":"cc12132871007865bc4b9804da6f24667a0bdc33","original_commit_id":"cc12132871007865bc4b9804da6f24667a0bdc33","user":{"login":"jiangdaniel","id":15041963,"avatar_url":"https://avatars.githubusercontent.com/u/15041963?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangdaniel","html_url":"https://github.com/jiangdaniel","followers_url":"https://api.github.com/users/jiangdaniel/followers","following_url":"https://api.github.com/users/jiangdaniel/following{/other_user}","gists_url":"https://api.github.com/users/jiangdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangdaniel/subscriptions","organizations_url":"https://api.github.com/users/jiangdaniel/orgs","repos_url":"https://api.github.com/users/jiangdaniel/repos","events_url":"https://api.github.com/users/jiangdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/jiangdaniel/received_events","type":"User","site_admin":false},"body":"Having the index i is nice because it gets passed to dictErrorMessage in order to provide an accurate error message","created_at":"2016-09-25T07:03:29Z","updated_at":"2016-09-25T07:03:29Z","html_url":"https://github.com/pioneers/PieCentral/pull/28#discussion_r80375488","pull_request_url":"https://api.github.com/repos/pioneers/PieCentral/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/comments/80375488"},"html":{"href":"https://github.com/pioneers/PieCentral/pull/28#discussion_r80375488"},"pull_request":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/pioneers/PieCentral/pulls/28","id":86637253,"html_url":"https://github.com/pioneers/PieCentral/pull/28","diff_url":"https://github.com/pioneers/PieCentral/pull/28.diff","patch_url":"https://github.com/pioneers/PieCentral/pull/28.patch","issue_url":"https://api.github.com/repos/pioneers/PieCentral/issues/28","number":28,"state":"open","locked":false,"title":"[RUNTIME] Implement getters and setters to access nested dictionaries in StateManager.state","user":{"login":"jiangdaniel","id":15041963,"avatar_url":"https://avatars.githubusercontent.com/u/15041963?v=3","gravatar_id":"","url":"https://api.github.com/users/jiangdaniel","html_url":"https://github.com/jiangdaniel","followers_url":"https://api.github.com/users/jiangdaniel/followers","following_url":"https://api.github.com/users/jiangdaniel/following{/other_user}","gists_url":"https://api.github.com/users/jiangdaniel/gists{/gist_id}","starred_url":"https://api.github.com/users/jiangdaniel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jiangdaniel/subscriptions","organizations_url":"https://api.github.com/users/jiangdaniel/orgs","repos_url":"https://api.github.com/users/jiangdaniel/repos","events_url":"https://api.github.com/users/jiangdaniel/events{/privacy}","received_events_url":"https://api.github.com/users/jiangdaniel/received_events","type":"User","site_admin":false},"body":"- Change Robot.getValue and Robot.setValue to accept a variable number of arguments\r\n- Change StateManager.getValue and StateManager.setValue to be able to access nested dictionaries in StateManager.state\r\n- Add StateManager.dictErrorMessage to create informative error messages when StateManager.getValue and StateManager.setValue error","created_at":"2016-09-25T02:23:12Z","updated_at":"2016-09-25T07:03:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88268c9728ea9c38ad3a42fc36bcb0ca23c3e33c","assignee":{"login":"yizow","id":7284555,"avatar_url":"https://avatars.githubusercontent.com/u/7284555?v=3","gravatar_id":"","url":"https://api.github.com/users/yizow","html_url":"https://github.com/yizow","followers_url":"https://api.github.com/users/yizow/followers","following_url":"https://api.github.com/users/yizow/following{/other_user}","gists_url":"https://api.github.com/users/yizow/gists{/gist_id}","starred_url":"https://api.github.com/users/yizow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yizow/subscriptions","organizations_url":"https://api.github.com/users/yizow/orgs","repos_url":"https://api.github.com/users/yizow/repos","events_url":"https://api.github.com/users/yizow/events{/privacy}","received_events_url":"https://api.github.com/users/yizow/received_events","type":"User","site_admin":false},"assignees":[{"login":"yizow","id":7284555,"avatar_url":"https://avatars.githubusercontent.com/u/7284555?v=3","gravatar_id":"","url":"https://api.github.com/users/yizow","html_url":"https://github.com/yizow","followers_url":"https://api.github.com/users/yizow/followers","following_url":"https://api.github.com/users/yizow/following{/other_user}","gists_url":"https://api.github.com/users/yizow/gists{/gist_id}","starred_url":"https://api.github.com/users/yizow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yizow/subscriptions","organizations_url":"https://api.github.com/users/yizow/orgs","repos_url":"https://api.github.com/users/yizow/repos","events_url":"https://api.github.com/users/yizow/events{/privacy}","received_events_url":"https://api.github.com/users/yizow/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/pioneers/PieCentral/pulls/28/commits","review_comments_url":"https://api.github.com/repos/pioneers/PieCentral/pulls/28/comments","review_comment_url":"https://api.github.com/repos/pioneers/PieCentral/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pioneers/PieCentral/issues/28/comments","statuses_url":"https://api.github.com/repos/pioneers/PieCentral/statuses/cc12132871007865bc4b9804da6f24667a0bdc33","head":{"label":"pioneers:runtime/daniel/nested-get-set","ref":"runtime/daniel/nested-get-set","sha":"cc12132871007865bc4b9804da6f24667a0bdc33","user":{"login":"pioneers","id":5135404,"avatar_url":"https://avatars.githubusercontent.com/u/5135404?v=3","gravatar_id":"","url":"https://api.github.com/users/pioneers","html_url":"https://github.com/pioneers","followers_url":"https://api.github.com/users/pioneers/followers","following_url":"https://api.github.com/users/pioneers/following{/other_user}","gists_url":"https://api.github.com/users/pioneers/gists{/gist_id}","starred_url":"https://api.github.com/users/pioneers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pioneers/subscriptions","organizations_url":"https://api.github.com/users/pioneers/orgs","repos_url":"https://api.github.com/users/pioneers/repos","events_url":"https://api.github.com/users/pioneers/events{/privacy}","received_events_url":"https://api.github.com/users/pioneers/received_events","type":"Organization","site_admin":false},"repo":{"id":67092938,"name":"PieCentral","full_name":"pioneers/PieCentral","owner":{"login":"pioneers","id":5135404,"avatar_url":"https://avatars.githubusercontent.com/u/5135404?v=3","gravatar_id":"","url":"https://api.github.com/users/pioneers","html_url":"https://github.com/pioneers","followers_url":"https://api.github.com/users/pioneers/followers","following_url":"https://api.github.com/users/pioneers/following{/other_user}","gists_url":"https://api.github.com/users/pioneers/gists{/gist_id}","starred_url":"https://api.github.com/users/pioneers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pioneers/subscriptions","organizations_url":"https://api.github.com/users/pioneers/orgs","repos_url":"https://api.github.com/users/pioneers/repos","events_url":"https://api.github.com/users/pioneers/events{/privacy}","received_events_url":"https://api.github.com/users/pioneers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pioneers/PieCentral","description":null,"fork":false,"url":"https://api.github.com/repos/pioneers/PieCentral","forks_url":"https://api.github.com/repos/pioneers/PieCentral/forks","keys_url":"https://api.github.com/repos/pioneers/PieCentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pioneers/PieCentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pioneers/PieCentral/teams","hooks_url":"https://api.github.com/repos/pioneers/PieCentral/hooks","issue_events_url":"https://api.github.com/repos/pioneers/PieCentral/issues/events{/number}","events_url":"https://api.github.com/repos/pioneers/PieCentral/events","assignees_url":"https://api.github.com/repos/pioneers/PieCentral/assignees{/user}","branches_url":"https://api.github.com/repos/pioneers/PieCentral/branches{/branch}","tags_url":"https://api.github.com/repos/pioneers/PieCentral/tags","blobs_url":"https://api.github.com/repos/pioneers/PieCentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pioneers/PieCentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pioneers/PieCentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/pioneers/PieCentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pioneers/PieCentral/statuses/{sha}","languages_url":"https://api.github.com/repos/pioneers/PieCentral/languages","stargazers_url":"https://api.github.com/repos/pioneers/PieCentral/stargazers","contributors_url":"https://api.github.com/repos/pioneers/PieCentral/contributors","subscribers_url":"https://api.github.com/repos/pioneers/PieCentral/subscribers","subscription_url":"https://api.github.com/repos/pioneers/PieCentral/subscription","commits_url":"https://api.github.com/repos/pioneers/PieCentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/pioneers/PieCentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/pioneers/PieCentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/pioneers/PieCentral/issues/comments{/number}","contents_url":"https://api.github.com/repos/pioneers/PieCentral/contents/{+path}","compare_url":"https://api.github.com/repos/pioneers/PieCentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pioneers/PieCentral/merges","archive_url":"https://api.github.com/repos/pioneers/PieCentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pioneers/PieCentral/downloads","issues_url":"https://api.github.com/repos/pioneers/PieCentral/issues{/number}","pulls_url":"https://api.github.com/repos/pioneers/PieCentral/pulls{/number}","milestones_url":"https://api.github.com/repos/pioneers/PieCentral/milestones{/number}","notifications_url":"https://api.github.com/repos/pioneers/PieCentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pioneers/PieCentral/labels{/name}","releases_url":"https://api.github.com/repos/pioneers/PieCentral/releases{/id}","deployments_url":"https://api.github.com/repos/pioneers/PieCentral/deployments","created_at":"2016-09-01T03:00:13Z","updated_at":"2016-09-24T22:22:03Z","pushed_at":"2016-09-25T02:23:12Z","git_url":"git://github.com/pioneers/PieCentral.git","ssh_url":"git@github.com:pioneers/PieCentral.git","clone_url":"https://github.com/pioneers/PieCentral.git","svn_url":"https://github.com/pioneers/PieCentral","homepage":null,"size":3423,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"pioneers:master","ref":"master","sha":"a21abcdc655da68af55c42005da1bd5a0b05321a","user":{"login":"pioneers","id":5135404,"avatar_url":"https://avatars.githubusercontent.com/u/5135404?v=3","gravatar_id":"","url":"https://api.github.com/users/pioneers","html_url":"https://github.com/pioneers","followers_url":"https://api.github.com/users/pioneers/followers","following_url":"https://api.github.com/users/pioneers/following{/other_user}","gists_url":"https://api.github.com/users/pioneers/gists{/gist_id}","starred_url":"https://api.github.com/users/pioneers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pioneers/subscriptions","organizations_url":"https://api.github.com/users/pioneers/orgs","repos_url":"https://api.github.com/users/pioneers/repos","events_url":"https://api.github.com/users/pioneers/events{/privacy}","received_events_url":"https://api.github.com/users/pioneers/received_events","type":"Organization","site_admin":false},"repo":{"id":67092938,"name":"PieCentral","full_name":"pioneers/PieCentral","owner":{"login":"pioneers","id":5135404,"avatar_url":"https://avatars.githubusercontent.com/u/5135404?v=3","gravatar_id":"","url":"https://api.github.com/users/pioneers","html_url":"https://github.com/pioneers","followers_url":"https://api.github.com/users/pioneers/followers","following_url":"https://api.github.com/users/pioneers/following{/other_user}","gists_url":"https://api.github.com/users/pioneers/gists{/gist_id}","starred_url":"https://api.github.com/users/pioneers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pioneers/subscriptions","organizations_url":"https://api.github.com/users/pioneers/orgs","repos_url":"https://api.github.com/users/pioneers/repos","events_url":"https://api.github.com/users/pioneers/events{/privacy}","received_events_url":"https://api.github.com/users/pioneers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pioneers/PieCentral","description":null,"fork":false,"url":"https://api.github.com/repos/pioneers/PieCentral","forks_url":"https://api.github.com/repos/pioneers/PieCentral/forks","keys_url":"https://api.github.com/repos/pioneers/PieCentral/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pioneers/PieCentral/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pioneers/PieCentral/teams","hooks_url":"https://api.github.com/repos/pioneers/PieCentral/hooks","issue_events_url":"https://api.github.com/repos/pioneers/PieCentral/issues/events{/number}","events_url":"https://api.github.com/repos/pioneers/PieCentral/events","assignees_url":"https://api.github.com/repos/pioneers/PieCentral/assignees{/user}","branches_url":"https://api.github.com/repos/pioneers/PieCentral/branches{/branch}","tags_url":"https://api.github.com/repos/pioneers/PieCentral/tags","blobs_url":"https://api.github.com/repos/pioneers/PieCentral/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pioneers/PieCentral/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pioneers/PieCentral/git/refs{/sha}","trees_url":"https://api.github.com/repos/pioneers/PieCentral/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pioneers/PieCentral/statuses/{sha}","languages_url":"https://api.github.com/repos/pioneers/PieCentral/languages","stargazers_url":"https://api.github.com/repos/pioneers/PieCentral/stargazers","contributors_url":"https://api.github.com/repos/pioneers/PieCentral/contributors","subscribers_url":"https://api.github.com/repos/pioneers/PieCentral/subscribers","subscription_url":"https://api.github.com/repos/pioneers/PieCentral/subscription","commits_url":"https://api.github.com/repos/pioneers/PieCentral/commits{/sha}","git_commits_url":"https://api.github.com/repos/pioneers/PieCentral/git/commits{/sha}","comments_url":"https://api.github.com/repos/pioneers/PieCentral/comments{/number}","issue_comment_url":"https://api.github.com/repos/pioneers/PieCentral/issues/comments{/number}","contents_url":"https://api.github.com/repos/pioneers/PieCentral/contents/{+path}","compare_url":"https://api.github.com/repos/pioneers/PieCentral/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pioneers/PieCentral/merges","archive_url":"https://api.github.com/repos/pioneers/PieCentral/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pioneers/PieCentral/downloads","issues_url":"https://api.github.com/repos/pioneers/PieCentral/issues{/number}","pulls_url":"https://api.github.com/repos/pioneers/PieCentral/pulls{/number}","milestones_url":"https://api.github.com/repos/pioneers/PieCentral/milestones{/number}","notifications_url":"https://api.github.com/repos/pioneers/PieCentral/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pioneers/PieCentral/labels{/name}","releases_url":"https://api.github.com/repos/pioneers/PieCentral/releases{/id}","deployments_url":"https://api.github.com/repos/pioneers/PieCentral/deployments","created_at":"2016-09-01T03:00:13Z","updated_at":"2016-09-24T22:22:03Z","pushed_at":"2016-09-25T02:23:12Z","git_url":"git://github.com/pioneers/PieCentral.git","ssh_url":"git@github.com:pioneers/PieCentral.git","clone_url":"https://github.com/pioneers/PieCentral.git","svn_url":"https://github.com/pioneers/PieCentral","homepage":null,"size":3423,"stargazers_count":1,"watchers_count":1,"language":"Makefile","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/28"},"html":{"href":"https://github.com/pioneers/PieCentral/pull/28"},"issue":{"href":"https://api.github.com/repos/pioneers/PieCentral/issues/28"},"comments":{"href":"https://api.github.com/repos/pioneers/PieCentral/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pioneers/PieCentral/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/pioneers/PieCentral/statuses/cc12132871007865bc4b9804da6f24667a0bdc33"}}}}
{"actor":{"display_login":"jiangdaniel"}}