{"action":"created","comment":{"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/comments/53792184","id":53792184,"diff_hunk":"@@ -14,9 +14,8 @@ class Labels:\n         OPEN = _(\"Open commenting\")\n \n \n-class SectionType(Enum):\n+class InitialSectionType:","path":"democracy/enums.py","position":5,"original_position":5,"commit_id":"d2976444080cbe00630f29b5e39aed073163b28b","original_commit_id":"d2976444080cbe00630f29b5e39aed073163b28b","user":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"body":"I wonder if `SpecialSectionType` or something might be a better name for this...","created_at":"2016-02-23T15:09:04Z","updated_at":"2016-02-23T15:09:04Z","html_url":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146#discussion_r53792184","pull_request_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/comments/53792184"},"html":{"href":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146#discussion_r53792184"},"pull_request":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146","id":60353471,"html_url":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146","diff_url":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146.diff","patch_url":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146.patch","issue_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/146","number":146,"state":"open","locked":false,"title":"Change SectionType to a model","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"body":"Added SectionType model which has 4 initial objects: introduction, scenario, part and closure info.\r\n\r\nRefs #140","created_at":"2016-02-23T15:07:45Z","updated_at":"2016-02-23T15:09:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"af3c1fec50be01e1120988bd3a5c3d1d5fa52124","assignee":{"login":"akx","id":58669,"avatar_url":"https://avatars.githubusercontent.com/u/58669?v=3","gravatar_id":"","url":"https://api.github.com/users/akx","html_url":"https://github.com/akx","followers_url":"https://api.github.com/users/akx/followers","following_url":"https://api.github.com/users/akx/following{/other_user}","gists_url":"https://api.github.com/users/akx/gists{/gist_id}","starred_url":"https://api.github.com/users/akx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akx/subscriptions","organizations_url":"https://api.github.com/users/akx/orgs","repos_url":"https://api.github.com/users/akx/repos","events_url":"https://api.github.com/users/akx/events{/privacy}","received_events_url":"https://api.github.com/users/akx/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146/commits","review_comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146/comments","review_comment_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/146/comments","statuses_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/statuses/d2976444080cbe00630f29b5e39aed073163b28b","head":{"label":"tuomas777:section-type-model-id","ref":"section-type-model-id","sha":"d2976444080cbe00630f29b5e39aed073163b28b","user":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"repo":{"id":50915587,"name":"kerrokantasi","full_name":"tuomas777/kerrokantasi","owner":{"login":"tuomas777","id":1314604,"avatar_url":"https://avatars.githubusercontent.com/u/1314604?v=3","gravatar_id":"","url":"https://api.github.com/users/tuomas777","html_url":"https://github.com/tuomas777","followers_url":"https://api.github.com/users/tuomas777/followers","following_url":"https://api.github.com/users/tuomas777/following{/other_user}","gists_url":"https://api.github.com/users/tuomas777/gists{/gist_id}","starred_url":"https://api.github.com/users/tuomas777/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuomas777/subscriptions","organizations_url":"https://api.github.com/users/tuomas777/orgs","repos_url":"https://api.github.com/users/tuomas777/repos","events_url":"https://api.github.com/users/tuomas777/events{/privacy}","received_events_url":"https://api.github.com/users/tuomas777/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tuomas777/kerrokantasi","description":"Kerro kantasi participatory democracy backend","fork":true,"url":"https://api.github.com/repos/tuomas777/kerrokantasi","forks_url":"https://api.github.com/repos/tuomas777/kerrokantasi/forks","keys_url":"https://api.github.com/repos/tuomas777/kerrokantasi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tuomas777/kerrokantasi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tuomas777/kerrokantasi/teams","hooks_url":"https://api.github.com/repos/tuomas777/kerrokantasi/hooks","issue_events_url":"https://api.github.com/repos/tuomas777/kerrokantasi/issues/events{/number}","events_url":"https://api.github.com/repos/tuomas777/kerrokantasi/events","assignees_url":"https://api.github.com/repos/tuomas777/kerrokantasi/assignees{/user}","branches_url":"https://api.github.com/repos/tuomas777/kerrokantasi/branches{/branch}","tags_url":"https://api.github.com/repos/tuomas777/kerrokantasi/tags","blobs_url":"https://api.github.com/repos/tuomas777/kerrokantasi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tuomas777/kerrokantasi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tuomas777/kerrokantasi/git/refs{/sha}","trees_url":"https://api.github.com/repos/tuomas777/kerrokantasi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tuomas777/kerrokantasi/statuses/{sha}","languages_url":"https://api.github.com/repos/tuomas777/kerrokantasi/languages","stargazers_url":"https://api.github.com/repos/tuomas777/kerrokantasi/stargazers","contributors_url":"https://api.github.com/repos/tuomas777/kerrokantasi/contributors","subscribers_url":"https://api.github.com/repos/tuomas777/kerrokantasi/subscribers","subscription_url":"https://api.github.com/repos/tuomas777/kerrokantasi/subscription","commits_url":"https://api.github.com/repos/tuomas777/kerrokantasi/commits{/sha}","git_commits_url":"https://api.github.com/repos/tuomas777/kerrokantasi/git/commits{/sha}","comments_url":"https://api.github.com/repos/tuomas777/kerrokantasi/comments{/number}","issue_comment_url":"https://api.github.com/repos/tuomas777/kerrokantasi/issues/comments{/number}","contents_url":"https://api.github.com/repos/tuomas777/kerrokantasi/contents/{+path}","compare_url":"https://api.github.com/repos/tuomas777/kerrokantasi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tuomas777/kerrokantasi/merges","archive_url":"https://api.github.com/repos/tuomas777/kerrokantasi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tuomas777/kerrokantasi/downloads","issues_url":"https://api.github.com/repos/tuomas777/kerrokantasi/issues{/number}","pulls_url":"https://api.github.com/repos/tuomas777/kerrokantasi/pulls{/number}","milestones_url":"https://api.github.com/repos/tuomas777/kerrokantasi/milestones{/number}","notifications_url":"https://api.github.com/repos/tuomas777/kerrokantasi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tuomas777/kerrokantasi/labels{/name}","releases_url":"https://api.github.com/repos/tuomas777/kerrokantasi/releases{/id}","deployments_url":"https://api.github.com/repos/tuomas777/kerrokantasi/deployments","created_at":"2016-02-02T11:21:32Z","updated_at":"2016-02-02T11:21:33Z","pushed_at":"2016-02-23T15:06:42Z","git_url":"git://github.com/tuomas777/kerrokantasi.git","ssh_url":"git@github.com:tuomas777/kerrokantasi.git","clone_url":"https://github.com/tuomas777/kerrokantasi.git","svn_url":"https://github.com/tuomas777/kerrokantasi","homepage":null,"size":785,"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":"master"}},"base":{"label":"City-of-Helsinki:master","ref":"master","sha":"1eca93662051854a8848e112c2c0ffbe5f553ae3","user":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"repo":{"id":44660623,"name":"kerrokantasi","full_name":"City-of-Helsinki/kerrokantasi","owner":{"login":"City-of-Helsinki","id":1875564,"avatar_url":"https://avatars.githubusercontent.com/u/1875564?v=3","gravatar_id":"","url":"https://api.github.com/users/City-of-Helsinki","html_url":"https://github.com/City-of-Helsinki","followers_url":"https://api.github.com/users/City-of-Helsinki/followers","following_url":"https://api.github.com/users/City-of-Helsinki/following{/other_user}","gists_url":"https://api.github.com/users/City-of-Helsinki/gists{/gist_id}","starred_url":"https://api.github.com/users/City-of-Helsinki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/City-of-Helsinki/subscriptions","organizations_url":"https://api.github.com/users/City-of-Helsinki/orgs","repos_url":"https://api.github.com/users/City-of-Helsinki/repos","events_url":"https://api.github.com/users/City-of-Helsinki/events{/privacy}","received_events_url":"https://api.github.com/users/City-of-Helsinki/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/City-of-Helsinki/kerrokantasi","description":"Kerro kantasi participatory democracy backend","fork":false,"url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi","forks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/forks","keys_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/teams","hooks_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/hooks","issue_events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/events{/number}","events_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/events","assignees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/assignees{/user}","branches_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/branches{/branch}","tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/tags","blobs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/git/refs{/sha}","trees_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/statuses/{sha}","languages_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/languages","stargazers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/stargazers","contributors_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/contributors","subscribers_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/subscribers","subscription_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/subscription","commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/commits{/sha}","git_commits_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/git/commits{/sha}","comments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/comments{/number}","issue_comment_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/comments{/number}","contents_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/contents/{+path}","compare_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/merges","archive_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/downloads","issues_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues{/number}","pulls_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls{/number}","milestones_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/milestones{/number}","notifications_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/labels{/name}","releases_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/releases{/id}","deployments_url":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/deployments","created_at":"2015-10-21T07:46:44Z","updated_at":"2016-01-22T13:38:34Z","pushed_at":"2016-02-23T15:07:46Z","git_url":"git://github.com/City-of-Helsinki/kerrokantasi.git","ssh_url":"git@github.com:City-of-Helsinki/kerrokantasi.git","clone_url":"https://github.com/City-of-Helsinki/kerrokantasi.git","svn_url":"https://github.com/City-of-Helsinki/kerrokantasi","homepage":null,"size":878,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146"},"html":{"href":"https://github.com/City-of-Helsinki/kerrokantasi/pull/146"},"issue":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/146"},"comments":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/City-of-Helsinki/kerrokantasi/statuses/d2976444080cbe00630f29b5e39aed073163b28b"}}}}