{"action":"created","comment":{"url":"https://api.github.com/repos/buzzfeed/phonon/pulls/comments/59566306","id":59566306,"diff_hunk":"@@ -0,0 +1,12 @@\n+from phonon.connections import connect\n+connect(hosts=['localhost'])\n+\n+from phonon.fields import *\n+from phonon.model import Model\n+\n+class Foo(Model):\n+    a = SumField()","path":"example.py","position":8,"original_position":8,"commit_id":"e6ad832e3b316f10c4831fcbb54f67308c9869cb","original_commit_id":"e6ad832e3b316f10c4831fcbb54f67308c9869cb","user":{"login":"lfbrandao","id":323468,"avatar_url":"https://avatars.githubusercontent.com/u/323468?v=3","gravatar_id":"","url":"https://api.github.com/users/lfbrandao","html_url":"https://github.com/lfbrandao","followers_url":"https://api.github.com/users/lfbrandao/followers","following_url":"https://api.github.com/users/lfbrandao/following{/other_user}","gists_url":"https://api.github.com/users/lfbrandao/gists{/gist_id}","starred_url":"https://api.github.com/users/lfbrandao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfbrandao/subscriptions","organizations_url":"https://api.github.com/users/lfbrandao/orgs","repos_url":"https://api.github.com/users/lfbrandao/repos","events_url":"https://api.github.com/users/lfbrandao/events{/privacy}","received_events_url":"https://api.github.com/users/lfbrandao/received_events","type":"User","site_admin":false},"body":"SumField doesn't seem to exist. ","created_at":"2016-04-13T15:11:52Z","updated_at":"2016-04-13T15:11:52Z","html_url":"https://github.com/buzzfeed/phonon/pull/51#discussion_r59566306","pull_request_url":"https://api.github.com/repos/buzzfeed/phonon/pulls/51","_links":{"self":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/comments/59566306"},"html":{"href":"https://github.com/buzzfeed/phonon/pull/51#discussion_r59566306"},"pull_request":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/51"}}},"pull_request":{"url":"https://api.github.com/repos/buzzfeed/phonon/pulls/51","id":66227253,"html_url":"https://github.com/buzzfeed/phonon/pull/51","diff_url":"https://github.com/buzzfeed/phonon/pull/51.diff","patch_url":"https://github.com/buzzfeed/phonon/pull/51.patch","issue_url":"https://api.github.com/repos/buzzfeed/phonon/issues/51","number":51,"state":"open","locked":false,"title":"Added conflict-free models and fields to avoid locking, ever.","user":{"login":"akellehe","id":227095,"avatar_url":"https://avatars.githubusercontent.com/u/227095?v=3","gravatar_id":"","url":"https://api.github.com/users/akellehe","html_url":"https://github.com/akellehe","followers_url":"https://api.github.com/users/akellehe/followers","following_url":"https://api.github.com/users/akellehe/following{/other_user}","gists_url":"https://api.github.com/users/akellehe/gists{/gist_id}","starred_url":"https://api.github.com/users/akellehe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akellehe/subscriptions","organizations_url":"https://api.github.com/users/akellehe/orgs","repos_url":"https://api.github.com/users/akellehe/repos","events_url":"https://api.github.com/users/akellehe/events{/privacy}","received_events_url":"https://api.github.com/users/akellehe/received_events","type":"User","site_admin":false},"body":"The Model is intended to represent a single incremental update to a\r\nglobal model. It can be aggregated locally by calling it's merge()\r\nmethod, then written to a cache to aggregate to the global value by\r\ncalling it's cache() method.","created_at":"2016-04-12T21:00:59Z","updated_at":"2016-04-13T15:11:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49fb538bbd1d0b32d011334d5d76a18d53c3f05d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/buzzfeed/phonon/pulls/51/commits","review_comments_url":"https://api.github.com/repos/buzzfeed/phonon/pulls/51/comments","review_comment_url":"https://api.github.com/repos/buzzfeed/phonon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/buzzfeed/phonon/issues/51/comments","statuses_url":"https://api.github.com/repos/buzzfeed/phonon/statuses/e6ad832e3b316f10c4831fcbb54f67308c9869cb","head":{"label":"buzzfeed:COPS-811-models-and-fields","ref":"COPS-811-models-and-fields","sha":"e6ad832e3b316f10c4831fcbb54f67308c9869cb","user":{"login":"buzzfeed","id":1781305,"avatar_url":"https://avatars.githubusercontent.com/u/1781305?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzfeed","html_url":"https://github.com/buzzfeed","followers_url":"https://api.github.com/users/buzzfeed/followers","following_url":"https://api.github.com/users/buzzfeed/following{/other_user}","gists_url":"https://api.github.com/users/buzzfeed/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzfeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzfeed/subscriptions","organizations_url":"https://api.github.com/users/buzzfeed/orgs","repos_url":"https://api.github.com/users/buzzfeed/repos","events_url":"https://api.github.com/users/buzzfeed/events{/privacy}","received_events_url":"https://api.github.com/users/buzzfeed/received_events","type":"Organization","site_admin":false},"repo":{"id":27844200,"name":"phonon","full_name":"buzzfeed/phonon","owner":{"login":"buzzfeed","id":1781305,"avatar_url":"https://avatars.githubusercontent.com/u/1781305?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzfeed","html_url":"https://github.com/buzzfeed","followers_url":"https://api.github.com/users/buzzfeed/followers","following_url":"https://api.github.com/users/buzzfeed/following{/other_user}","gists_url":"https://api.github.com/users/buzzfeed/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzfeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzfeed/subscriptions","organizations_url":"https://api.github.com/users/buzzfeed/orgs","repos_url":"https://api.github.com/users/buzzfeed/repos","events_url":"https://api.github.com/users/buzzfeed/events{/privacy}","received_events_url":"https://api.github.com/users/buzzfeed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buzzfeed/phonon","description":"Phonon","fork":false,"url":"https://api.github.com/repos/buzzfeed/phonon","forks_url":"https://api.github.com/repos/buzzfeed/phonon/forks","keys_url":"https://api.github.com/repos/buzzfeed/phonon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buzzfeed/phonon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buzzfeed/phonon/teams","hooks_url":"https://api.github.com/repos/buzzfeed/phonon/hooks","issue_events_url":"https://api.github.com/repos/buzzfeed/phonon/issues/events{/number}","events_url":"https://api.github.com/repos/buzzfeed/phonon/events","assignees_url":"https://api.github.com/repos/buzzfeed/phonon/assignees{/user}","branches_url":"https://api.github.com/repos/buzzfeed/phonon/branches{/branch}","tags_url":"https://api.github.com/repos/buzzfeed/phonon/tags","blobs_url":"https://api.github.com/repos/buzzfeed/phonon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buzzfeed/phonon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buzzfeed/phonon/git/refs{/sha}","trees_url":"https://api.github.com/repos/buzzfeed/phonon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buzzfeed/phonon/statuses/{sha}","languages_url":"https://api.github.com/repos/buzzfeed/phonon/languages","stargazers_url":"https://api.github.com/repos/buzzfeed/phonon/stargazers","contributors_url":"https://api.github.com/repos/buzzfeed/phonon/contributors","subscribers_url":"https://api.github.com/repos/buzzfeed/phonon/subscribers","subscription_url":"https://api.github.com/repos/buzzfeed/phonon/subscription","commits_url":"https://api.github.com/repos/buzzfeed/phonon/commits{/sha}","git_commits_url":"https://api.github.com/repos/buzzfeed/phonon/git/commits{/sha}","comments_url":"https://api.github.com/repos/buzzfeed/phonon/comments{/number}","issue_comment_url":"https://api.github.com/repos/buzzfeed/phonon/issues/comments{/number}","contents_url":"https://api.github.com/repos/buzzfeed/phonon/contents/{+path}","compare_url":"https://api.github.com/repos/buzzfeed/phonon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buzzfeed/phonon/merges","archive_url":"https://api.github.com/repos/buzzfeed/phonon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buzzfeed/phonon/downloads","issues_url":"https://api.github.com/repos/buzzfeed/phonon/issues{/number}","pulls_url":"https://api.github.com/repos/buzzfeed/phonon/pulls{/number}","milestones_url":"https://api.github.com/repos/buzzfeed/phonon/milestones{/number}","notifications_url":"https://api.github.com/repos/buzzfeed/phonon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buzzfeed/phonon/labels{/name}","releases_url":"https://api.github.com/repos/buzzfeed/phonon/releases{/id}","deployments_url":"https://api.github.com/repos/buzzfeed/phonon/deployments","created_at":"2014-12-10T23:08:20Z","updated_at":"2016-04-12T20:25:36Z","pushed_at":"2016-04-12T23:36:40Z","git_url":"git://github.com/buzzfeed/phonon.git","ssh_url":"git@github.com:buzzfeed/phonon.git","clone_url":"https://github.com/buzzfeed/phonon.git","svn_url":"https://github.com/buzzfeed/phonon","homepage":"","size":486,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"buzzfeed:master","ref":"master","sha":"16ba9e6e7bec1bc00bfa671494e65b7dde11d780","user":{"login":"buzzfeed","id":1781305,"avatar_url":"https://avatars.githubusercontent.com/u/1781305?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzfeed","html_url":"https://github.com/buzzfeed","followers_url":"https://api.github.com/users/buzzfeed/followers","following_url":"https://api.github.com/users/buzzfeed/following{/other_user}","gists_url":"https://api.github.com/users/buzzfeed/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzfeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzfeed/subscriptions","organizations_url":"https://api.github.com/users/buzzfeed/orgs","repos_url":"https://api.github.com/users/buzzfeed/repos","events_url":"https://api.github.com/users/buzzfeed/events{/privacy}","received_events_url":"https://api.github.com/users/buzzfeed/received_events","type":"Organization","site_admin":false},"repo":{"id":27844200,"name":"phonon","full_name":"buzzfeed/phonon","owner":{"login":"buzzfeed","id":1781305,"avatar_url":"https://avatars.githubusercontent.com/u/1781305?v=3","gravatar_id":"","url":"https://api.github.com/users/buzzfeed","html_url":"https://github.com/buzzfeed","followers_url":"https://api.github.com/users/buzzfeed/followers","following_url":"https://api.github.com/users/buzzfeed/following{/other_user}","gists_url":"https://api.github.com/users/buzzfeed/gists{/gist_id}","starred_url":"https://api.github.com/users/buzzfeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buzzfeed/subscriptions","organizations_url":"https://api.github.com/users/buzzfeed/orgs","repos_url":"https://api.github.com/users/buzzfeed/repos","events_url":"https://api.github.com/users/buzzfeed/events{/privacy}","received_events_url":"https://api.github.com/users/buzzfeed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/buzzfeed/phonon","description":"Phonon","fork":false,"url":"https://api.github.com/repos/buzzfeed/phonon","forks_url":"https://api.github.com/repos/buzzfeed/phonon/forks","keys_url":"https://api.github.com/repos/buzzfeed/phonon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/buzzfeed/phonon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/buzzfeed/phonon/teams","hooks_url":"https://api.github.com/repos/buzzfeed/phonon/hooks","issue_events_url":"https://api.github.com/repos/buzzfeed/phonon/issues/events{/number}","events_url":"https://api.github.com/repos/buzzfeed/phonon/events","assignees_url":"https://api.github.com/repos/buzzfeed/phonon/assignees{/user}","branches_url":"https://api.github.com/repos/buzzfeed/phonon/branches{/branch}","tags_url":"https://api.github.com/repos/buzzfeed/phonon/tags","blobs_url":"https://api.github.com/repos/buzzfeed/phonon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/buzzfeed/phonon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/buzzfeed/phonon/git/refs{/sha}","trees_url":"https://api.github.com/repos/buzzfeed/phonon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/buzzfeed/phonon/statuses/{sha}","languages_url":"https://api.github.com/repos/buzzfeed/phonon/languages","stargazers_url":"https://api.github.com/repos/buzzfeed/phonon/stargazers","contributors_url":"https://api.github.com/repos/buzzfeed/phonon/contributors","subscribers_url":"https://api.github.com/repos/buzzfeed/phonon/subscribers","subscription_url":"https://api.github.com/repos/buzzfeed/phonon/subscription","commits_url":"https://api.github.com/repos/buzzfeed/phonon/commits{/sha}","git_commits_url":"https://api.github.com/repos/buzzfeed/phonon/git/commits{/sha}","comments_url":"https://api.github.com/repos/buzzfeed/phonon/comments{/number}","issue_comment_url":"https://api.github.com/repos/buzzfeed/phonon/issues/comments{/number}","contents_url":"https://api.github.com/repos/buzzfeed/phonon/contents/{+path}","compare_url":"https://api.github.com/repos/buzzfeed/phonon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/buzzfeed/phonon/merges","archive_url":"https://api.github.com/repos/buzzfeed/phonon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/buzzfeed/phonon/downloads","issues_url":"https://api.github.com/repos/buzzfeed/phonon/issues{/number}","pulls_url":"https://api.github.com/repos/buzzfeed/phonon/pulls{/number}","milestones_url":"https://api.github.com/repos/buzzfeed/phonon/milestones{/number}","notifications_url":"https://api.github.com/repos/buzzfeed/phonon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/buzzfeed/phonon/labels{/name}","releases_url":"https://api.github.com/repos/buzzfeed/phonon/releases{/id}","deployments_url":"https://api.github.com/repos/buzzfeed/phonon/deployments","created_at":"2014-12-10T23:08:20Z","updated_at":"2016-04-12T20:25:36Z","pushed_at":"2016-04-12T23:36:40Z","git_url":"git://github.com/buzzfeed/phonon.git","ssh_url":"git@github.com:buzzfeed/phonon.git","clone_url":"https://github.com/buzzfeed/phonon.git","svn_url":"https://github.com/buzzfeed/phonon","homepage":"","size":486,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/51"},"html":{"href":"https://github.com/buzzfeed/phonon/pull/51"},"issue":{"href":"https://api.github.com/repos/buzzfeed/phonon/issues/51"},"comments":{"href":"https://api.github.com/repos/buzzfeed/phonon/issues/51/comments"},"review_comments":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/51/comments"},"review_comment":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/buzzfeed/phonon/pulls/51/commits"},"statuses":{"href":"https://api.github.com/repos/buzzfeed/phonon/statuses/e6ad832e3b316f10c4831fcbb54f67308c9869cb"}}}}