{"action":"created","comment":{"url":"https://api.github.com/repos/allegro/ralph_assets/pulls/comments/24229936","id":24229936,"diff_hunk":"@@ -130,45 +132,37 @@ def format_item_display(self, obj):\n         return item\n \n \n+class MySum(SqlAggregate):","path":"src/ralph_assets/models.py","position":15,"original_position":15,"commit_id":"f00f1312665b0d321a35b9dca0749c2554ed0143","original_commit_id":"f00f1312665b0d321a35b9dca0749c2554ed0143","user":{"login":"zefciu","id":135876,"avatar_url":"https://avatars.githubusercontent.com/u/135876?v=3","gravatar_id":"","url":"https://api.github.com/users/zefciu","html_url":"https://github.com/zefciu","followers_url":"https://api.github.com/users/zefciu/followers","following_url":"https://api.github.com/users/zefciu/following{/other_user}","gists_url":"https://api.github.com/users/zefciu/gists{/gist_id}","starred_url":"https://api.github.com/users/zefciu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zefciu/subscriptions","organizations_url":"https://api.github.com/users/zefciu/orgs","repos_url":"https://api.github.com/users/zefciu/repos","events_url":"https://api.github.com/users/zefciu/events{/privacy}","received_events_url":"https://api.github.com/users/zefciu/received_events","type":"User","site_admin":false},"body":"Not quite descriptive name. Maybe a little docstring would help?","created_at":"2015-02-06T09:25:29Z","updated_at":"2015-02-06T09:25:29Z","html_url":"https://github.com/allegro/ralph_assets/pull/581#discussion_r24229936","pull_request_url":"https://api.github.com/repos/allegro/ralph_assets/pulls/581","_links":{"self":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/comments/24229936"},"html":{"href":"https://github.com/allegro/ralph_assets/pull/581#discussion_r24229936"},"pull_request":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/581"}}},"pull_request":{"url":"https://api.github.com/repos/allegro/ralph_assets/pulls/581","id":28629774,"html_url":"https://github.com/allegro/ralph_assets/pull/581","diff_url":"https://github.com/allegro/ralph_assets/pull/581.diff","patch_url":"https://github.com/allegro/ralph_assets/pull/581.patch","issue_url":"https://api.github.com/repos/allegro/ralph_assets/issues/581","number":581,"state":"open","locked":false,"title":"Changed FreeLicenceLookup from raw sql to orm.","user":{"login":"xliiv","id":298994,"avatar_url":"https://avatars.githubusercontent.com/u/298994?v=3","gravatar_id":"","url":"https://api.github.com/users/xliiv","html_url":"https://github.com/xliiv","followers_url":"https://api.github.com/users/xliiv/followers","following_url":"https://api.github.com/users/xliiv/following{/other_user}","gists_url":"https://api.github.com/users/xliiv/gists{/gist_id}","starred_url":"https://api.github.com/users/xliiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xliiv/subscriptions","organizations_url":"https://api.github.com/users/xliiv/orgs","repos_url":"https://api.github.com/users/xliiv/repos","events_url":"https://api.github.com/users/xliiv/events{/privacy}","received_events_url":"https://api.github.com/users/xliiv/received_events","type":"User","site_admin":false},"body":"Used `ifnull` as a custom aggregator function + added tests.\r\nRaw sql gave bugs.","created_at":"2015-02-04T11:04:03Z","updated_at":"2015-02-06T09:25:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7887a94543deef78aeecef0872b13594f3072b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/allegro/ralph_assets/pulls/581/commits","review_comments_url":"https://api.github.com/repos/allegro/ralph_assets/pulls/581/comments","review_comment_url":"https://api.github.com/repos/allegro/ralph_assets/pulls/comments/{number}","comments_url":"https://api.github.com/repos/allegro/ralph_assets/issues/581/comments","statuses_url":"https://api.github.com/repos/allegro/ralph_assets/statuses/f00f1312665b0d321a35b9dca0749c2554ed0143","head":{"label":"xliiv:free-licence-lookup","ref":"free-licence-lookup","sha":"f00f1312665b0d321a35b9dca0749c2554ed0143","user":{"login":"xliiv","id":298994,"avatar_url":"https://avatars.githubusercontent.com/u/298994?v=3","gravatar_id":"","url":"https://api.github.com/users/xliiv","html_url":"https://github.com/xliiv","followers_url":"https://api.github.com/users/xliiv/followers","following_url":"https://api.github.com/users/xliiv/following{/other_user}","gists_url":"https://api.github.com/users/xliiv/gists{/gist_id}","starred_url":"https://api.github.com/users/xliiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xliiv/subscriptions","organizations_url":"https://api.github.com/users/xliiv/orgs","repos_url":"https://api.github.com/users/xliiv/repos","events_url":"https://api.github.com/users/xliiv/events{/privacy}","received_events_url":"https://api.github.com/users/xliiv/received_events","type":"User","site_admin":false},"repo":{"id":16949884,"name":"ralph_assets","full_name":"xliiv/ralph_assets","owner":{"login":"xliiv","id":298994,"avatar_url":"https://avatars.githubusercontent.com/u/298994?v=3","gravatar_id":"","url":"https://api.github.com/users/xliiv","html_url":"https://github.com/xliiv","followers_url":"https://api.github.com/users/xliiv/followers","following_url":"https://api.github.com/users/xliiv/following{/other_user}","gists_url":"https://api.github.com/users/xliiv/gists{/gist_id}","starred_url":"https://api.github.com/users/xliiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xliiv/subscriptions","organizations_url":"https://api.github.com/users/xliiv/orgs","repos_url":"https://api.github.com/users/xliiv/repos","events_url":"https://api.github.com/users/xliiv/events{/privacy}","received_events_url":"https://api.github.com/users/xliiv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xliiv/ralph_assets","description":"Assets Management module for Ralph","fork":true,"url":"https://api.github.com/repos/xliiv/ralph_assets","forks_url":"https://api.github.com/repos/xliiv/ralph_assets/forks","keys_url":"https://api.github.com/repos/xliiv/ralph_assets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xliiv/ralph_assets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xliiv/ralph_assets/teams","hooks_url":"https://api.github.com/repos/xliiv/ralph_assets/hooks","issue_events_url":"https://api.github.com/repos/xliiv/ralph_assets/issues/events{/number}","events_url":"https://api.github.com/repos/xliiv/ralph_assets/events","assignees_url":"https://api.github.com/repos/xliiv/ralph_assets/assignees{/user}","branches_url":"https://api.github.com/repos/xliiv/ralph_assets/branches{/branch}","tags_url":"https://api.github.com/repos/xliiv/ralph_assets/tags","blobs_url":"https://api.github.com/repos/xliiv/ralph_assets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xliiv/ralph_assets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xliiv/ralph_assets/git/refs{/sha}","trees_url":"https://api.github.com/repos/xliiv/ralph_assets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xliiv/ralph_assets/statuses/{sha}","languages_url":"https://api.github.com/repos/xliiv/ralph_assets/languages","stargazers_url":"https://api.github.com/repos/xliiv/ralph_assets/stargazers","contributors_url":"https://api.github.com/repos/xliiv/ralph_assets/contributors","subscribers_url":"https://api.github.com/repos/xliiv/ralph_assets/subscribers","subscription_url":"https://api.github.com/repos/xliiv/ralph_assets/subscription","commits_url":"https://api.github.com/repos/xliiv/ralph_assets/commits{/sha}","git_commits_url":"https://api.github.com/repos/xliiv/ralph_assets/git/commits{/sha}","comments_url":"https://api.github.com/repos/xliiv/ralph_assets/comments{/number}","issue_comment_url":"https://api.github.com/repos/xliiv/ralph_assets/issues/comments/{number}","contents_url":"https://api.github.com/repos/xliiv/ralph_assets/contents/{+path}","compare_url":"https://api.github.com/repos/xliiv/ralph_assets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xliiv/ralph_assets/merges","archive_url":"https://api.github.com/repos/xliiv/ralph_assets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xliiv/ralph_assets/downloads","issues_url":"https://api.github.com/repos/xliiv/ralph_assets/issues{/number}","pulls_url":"https://api.github.com/repos/xliiv/ralph_assets/pulls{/number}","milestones_url":"https://api.github.com/repos/xliiv/ralph_assets/milestones{/number}","notifications_url":"https://api.github.com/repos/xliiv/ralph_assets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xliiv/ralph_assets/labels{/name}","releases_url":"https://api.github.com/repos/xliiv/ralph_assets/releases{/id}","created_at":"2014-02-18T13:35:19Z","updated_at":"2015-01-05T10:18:57Z","pushed_at":"2015-02-06T07:39:25Z","git_url":"git://github.com/xliiv/ralph_assets.git","ssh_url":"git@github.com:xliiv/ralph_assets.git","clone_url":"https://github.com/xliiv/ralph_assets.git","svn_url":"https://github.com/xliiv/ralph_assets","homepage":"","size":6730,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"allegro:develop","ref":"develop","sha":"d42345b6ec4cca962b1620aa87e33ab76c206e93","user":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"repo":{"id":8750311,"name":"ralph_assets","full_name":"allegro/ralph_assets","owner":{"login":"allegro","id":562236,"avatar_url":"https://avatars.githubusercontent.com/u/562236?v=3","gravatar_id":"","url":"https://api.github.com/users/allegro","html_url":"https://github.com/allegro","followers_url":"https://api.github.com/users/allegro/followers","following_url":"https://api.github.com/users/allegro/following{/other_user}","gists_url":"https://api.github.com/users/allegro/gists{/gist_id}","starred_url":"https://api.github.com/users/allegro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/allegro/subscriptions","organizations_url":"https://api.github.com/users/allegro/orgs","repos_url":"https://api.github.com/users/allegro/repos","events_url":"https://api.github.com/users/allegro/events{/privacy}","received_events_url":"https://api.github.com/users/allegro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/allegro/ralph_assets","description":"Assets Management module for Ralph","fork":false,"url":"https://api.github.com/repos/allegro/ralph_assets","forks_url":"https://api.github.com/repos/allegro/ralph_assets/forks","keys_url":"https://api.github.com/repos/allegro/ralph_assets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/allegro/ralph_assets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/allegro/ralph_assets/teams","hooks_url":"https://api.github.com/repos/allegro/ralph_assets/hooks","issue_events_url":"https://api.github.com/repos/allegro/ralph_assets/issues/events{/number}","events_url":"https://api.github.com/repos/allegro/ralph_assets/events","assignees_url":"https://api.github.com/repos/allegro/ralph_assets/assignees{/user}","branches_url":"https://api.github.com/repos/allegro/ralph_assets/branches{/branch}","tags_url":"https://api.github.com/repos/allegro/ralph_assets/tags","blobs_url":"https://api.github.com/repos/allegro/ralph_assets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/allegro/ralph_assets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/allegro/ralph_assets/git/refs{/sha}","trees_url":"https://api.github.com/repos/allegro/ralph_assets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/allegro/ralph_assets/statuses/{sha}","languages_url":"https://api.github.com/repos/allegro/ralph_assets/languages","stargazers_url":"https://api.github.com/repos/allegro/ralph_assets/stargazers","contributors_url":"https://api.github.com/repos/allegro/ralph_assets/contributors","subscribers_url":"https://api.github.com/repos/allegro/ralph_assets/subscribers","subscription_url":"https://api.github.com/repos/allegro/ralph_assets/subscription","commits_url":"https://api.github.com/repos/allegro/ralph_assets/commits{/sha}","git_commits_url":"https://api.github.com/repos/allegro/ralph_assets/git/commits{/sha}","comments_url":"https://api.github.com/repos/allegro/ralph_assets/comments{/number}","issue_comment_url":"https://api.github.com/repos/allegro/ralph_assets/issues/comments/{number}","contents_url":"https://api.github.com/repos/allegro/ralph_assets/contents/{+path}","compare_url":"https://api.github.com/repos/allegro/ralph_assets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/allegro/ralph_assets/merges","archive_url":"https://api.github.com/repos/allegro/ralph_assets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/allegro/ralph_assets/downloads","issues_url":"https://api.github.com/repos/allegro/ralph_assets/issues{/number}","pulls_url":"https://api.github.com/repos/allegro/ralph_assets/pulls{/number}","milestones_url":"https://api.github.com/repos/allegro/ralph_assets/milestones{/number}","notifications_url":"https://api.github.com/repos/allegro/ralph_assets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/allegro/ralph_assets/labels{/name}","releases_url":"https://api.github.com/repos/allegro/ralph_assets/releases{/id}","created_at":"2013-03-13T10:58:38Z","updated_at":"2015-02-04T08:57:41Z","pushed_at":"2015-02-04T08:59:36Z","git_url":"git://github.com/allegro/ralph_assets.git","ssh_url":"git@github.com:allegro/ralph_assets.git","clone_url":"https://github.com/allegro/ralph_assets.git","svn_url":"https://github.com/allegro/ralph_assets","homepage":"","size":8664,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":9,"forks":20,"open_issues":9,"watchers":10,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/581"},"html":{"href":"https://github.com/allegro/ralph_assets/pull/581"},"issue":{"href":"https://api.github.com/repos/allegro/ralph_assets/issues/581"},"comments":{"href":"https://api.github.com/repos/allegro/ralph_assets/issues/581/comments"},"review_comments":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/581/comments"},"review_comment":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/allegro/ralph_assets/pulls/581/commits"},"statuses":{"href":"https://api.github.com/repos/allegro/ralph_assets/statuses/f00f1312665b0d321a35b9dca0749c2554ed0143"}}}}