{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/comments/40748351","id":40748351,"diff_hunk":"@@ -251,14 +252,7 @@ def publish(prefix):\n                     if (from_submission_date is None or dims[\"submissionDate\"] >= from_submission_date) and \\\n                        (to_submission_date is None or dims[\"submissionDate\"] <= to_submission_date) and \\\n                        dims[\"submissionDate\"][:-2] in sdb:\n-                        attributes = {\"appName\": dims.get(\"appName\"),\n-                                      \"sourceName\": dims.get(\"sourceName\"),\n-                                      \"docType\": dims.get(\"docType\"),\n-                                      \"submissionDate\": dims.get(\"submissionDate\"),\n-                                      \"appVersion\": dims.get(\"appVersion\"),\n-                                      \"sourceVersion\": dims.get(\"sourceVersion\"),\n-                                      \"appUpdateChannel\": dims.get(\"appUpdateChannel\"),\n-                                      \"appBuildID\": dims.get(\"appBuildId\")}\n+                        attributes = dims","path":"moztelemetry/filter_service.py","position":72,"original_position":72,"commit_id":"04606796f195bf3d2e835ed8b3cd9f30baf602f8","original_commit_id":"04606796f195bf3d2e835ed8b3cd9f30baf602f8","user":{"login":"whd","id":808776,"avatar_url":"https://avatars.githubusercontent.com/u/808776?v=3","gravatar_id":"","url":"https://api.github.com/users/whd","html_url":"https://github.com/whd","followers_url":"https://api.github.com/users/whd/followers","following_url":"https://api.github.com/users/whd/following{/other_user}","gists_url":"https://api.github.com/users/whd/gists{/gist_id}","starred_url":"https://api.github.com/users/whd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whd/subscriptions","organizations_url":"https://api.github.com/users/whd/orgs","repos_url":"https://api.github.com/users/whd/repos","events_url":"https://api.github.com/users/whd/events{/privacy}","received_events_url":"https://api.github.com/users/whd/received_events","type":"User","site_admin":false},"body":"Maybe this variable is unnecessary now, since it is just `dims`. At any rate, I didn't find the definition of `schema.get_dimension_map` in this repository but I assume its results are of the same format as `attributes`.","created_at":"2015-09-30T00:39:53Z","updated_at":"2015-09-30T00:39:53Z","html_url":"https://github.com/mozilla/python_moztelemetry/pull/11#discussion_r40748351","pull_request_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11","_links":{"self":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/comments/40748351"},"html":{"href":"https://github.com/mozilla/python_moztelemetry/pull/11#discussion_r40748351"},"pull_request":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11","id":46282898,"html_url":"https://github.com/mozilla/python_moztelemetry/pull/11","diff_url":"https://github.com/mozilla/python_moztelemetry/pull/11.diff","patch_url":"https://github.com/mozilla/python_moztelemetry/pull/11.patch","issue_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/11","number":11,"state":"open","locked":false,"title":"Add support for release schema.","user":{"login":"vitillo","id":2061747,"avatar_url":"https://avatars.githubusercontent.com/u/2061747?v=3","gravatar_id":"","url":"https://api.github.com/users/vitillo","html_url":"https://github.com/vitillo","followers_url":"https://api.github.com/users/vitillo/followers","following_url":"https://api.github.com/users/vitillo/following{/other_user}","gists_url":"https://api.github.com/users/vitillo/gists{/gist_id}","starred_url":"https://api.github.com/users/vitillo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitillo/subscriptions","organizations_url":"https://api.github.com/users/vitillo/orgs","repos_url":"https://api.github.com/users/vitillo/repos","events_url":"https://api.github.com/users/vitillo/events{/privacy}","received_events_url":"https://api.github.com/users/vitillo/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-29T14:18:14Z","updated_at":"2015-09-30T00:39:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8d920d87ba7ffcbbdc64d9eb7aad1f37a8577438","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11/commits","review_comments_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11/comments","review_comment_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/11/comments","statuses_url":"https://api.github.com/repos/mozilla/python_moztelemetry/statuses/04606796f195bf3d2e835ed8b3cd9f30baf602f8","head":{"label":"mozilla:release_split","ref":"release_split","sha":"04606796f195bf3d2e835ed8b3cd9f30baf602f8","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":27777998,"name":"python_moztelemetry","full_name":"mozilla/python_moztelemetry","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/python_moztelemetry","description":"Spark bindings for Mozilla Telemetry","fork":false,"url":"https://api.github.com/repos/mozilla/python_moztelemetry","forks_url":"https://api.github.com/repos/mozilla/python_moztelemetry/forks","keys_url":"https://api.github.com/repos/mozilla/python_moztelemetry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/python_moztelemetry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/python_moztelemetry/teams","hooks_url":"https://api.github.com/repos/mozilla/python_moztelemetry/hooks","issue_events_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/python_moztelemetry/events","assignees_url":"https://api.github.com/repos/mozilla/python_moztelemetry/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/python_moztelemetry/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/python_moztelemetry/tags","blobs_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/python_moztelemetry/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/python_moztelemetry/languages","stargazers_url":"https://api.github.com/repos/mozilla/python_moztelemetry/stargazers","contributors_url":"https://api.github.com/repos/mozilla/python_moztelemetry/contributors","subscribers_url":"https://api.github.com/repos/mozilla/python_moztelemetry/subscribers","subscription_url":"https://api.github.com/repos/mozilla/python_moztelemetry/subscription","commits_url":"https://api.github.com/repos/mozilla/python_moztelemetry/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/python_moztelemetry/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/python_moztelemetry/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/python_moztelemetry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/python_moztelemetry/merges","archive_url":"https://api.github.com/repos/mozilla/python_moztelemetry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/python_moztelemetry/downloads","issues_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/python_moztelemetry/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/python_moztelemetry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/python_moztelemetry/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/python_moztelemetry/releases{/id}","created_at":"2014-12-09T17:24:55Z","updated_at":"2015-09-17T14:04:55Z","pushed_at":"2015-09-29T14:18:14Z","git_url":"git://github.com/mozilla/python_moztelemetry.git","ssh_url":"git@github.com:mozilla/python_moztelemetry.git","clone_url":"https://github.com/mozilla/python_moztelemetry.git","svn_url":"https://github.com/mozilla/python_moztelemetry","homepage":null,"size":596,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"37f42ff640372cefb0018853830e8b36ae40312c","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":27777998,"name":"python_moztelemetry","full_name":"mozilla/python_moztelemetry","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/python_moztelemetry","description":"Spark bindings for Mozilla Telemetry","fork":false,"url":"https://api.github.com/repos/mozilla/python_moztelemetry","forks_url":"https://api.github.com/repos/mozilla/python_moztelemetry/forks","keys_url":"https://api.github.com/repos/mozilla/python_moztelemetry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/python_moztelemetry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/python_moztelemetry/teams","hooks_url":"https://api.github.com/repos/mozilla/python_moztelemetry/hooks","issue_events_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/python_moztelemetry/events","assignees_url":"https://api.github.com/repos/mozilla/python_moztelemetry/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/python_moztelemetry/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/python_moztelemetry/tags","blobs_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/python_moztelemetry/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/python_moztelemetry/languages","stargazers_url":"https://api.github.com/repos/mozilla/python_moztelemetry/stargazers","contributors_url":"https://api.github.com/repos/mozilla/python_moztelemetry/contributors","subscribers_url":"https://api.github.com/repos/mozilla/python_moztelemetry/subscribers","subscription_url":"https://api.github.com/repos/mozilla/python_moztelemetry/subscription","commits_url":"https://api.github.com/repos/mozilla/python_moztelemetry/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/python_moztelemetry/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/python_moztelemetry/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/python_moztelemetry/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/python_moztelemetry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/python_moztelemetry/merges","archive_url":"https://api.github.com/repos/mozilla/python_moztelemetry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/python_moztelemetry/downloads","issues_url":"https://api.github.com/repos/mozilla/python_moztelemetry/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/python_moztelemetry/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/python_moztelemetry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/python_moztelemetry/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/python_moztelemetry/releases{/id}","created_at":"2014-12-09T17:24:55Z","updated_at":"2015-09-17T14:04:55Z","pushed_at":"2015-09-29T14:18:14Z","git_url":"git://github.com/mozilla/python_moztelemetry.git","ssh_url":"git@github.com:mozilla/python_moztelemetry.git","clone_url":"https://github.com/mozilla/python_moztelemetry.git","svn_url":"https://github.com/mozilla/python_moztelemetry","homepage":null,"size":596,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":2,"forks":5,"open_issues":2,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11"},"html":{"href":"https://github.com/mozilla/python_moztelemetry/pull/11"},"issue":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/11"},"comments":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/python_moztelemetry/statuses/04606796f195bf3d2e835ed8b3cd9f30baf602f8"}}}}