{"action":"created","comment":{"url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/comments/92922023","pull_request_review_id":13446930,"id":92922023,"diff_hunk":"@@ -0,0 +1,122 @@\n+from flask import current_app\n+from collections import OrderedDict\n+\n+\n+def get_database():\n+    from lightmdb import get_db\n+    return get_db(current_app)\n+\n+\n+class Cast(object):\n+    \"\"\"Cast Model.\"\"\"\n+    TABLE_NAME = 'casting'\n+\n+    def __init__(self, pk=None, movie_pk=None, celebrity_pk=None):\n+        self.pk = pk\n+        self.movie_pk=movie_pk","path":"lightmdb/models/cast.py","position":16,"original_position":16,"commit_id":"949213050c5dde0e96351100c21bf69524b2e2d4","original_commit_id":"949213050c5dde0e96351100c21bf69524b2e2d4","user":{"login":"mastizada","id":1975818,"avatar_url":"https://avatars.githubusercontent.com/u/1975818?v=3","gravatar_id":"","url":"https://api.github.com/users/mastizada","html_url":"https://github.com/mastizada","followers_url":"https://api.github.com/users/mastizada/followers","following_url":"https://api.github.com/users/mastizada/following{/other_user}","gists_url":"https://api.github.com/users/mastizada/gists{/gist_id}","starred_url":"https://api.github.com/users/mastizada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mastizada/subscriptions","organizations_url":"https://api.github.com/users/mastizada/orgs","repos_url":"https://api.github.com/users/mastizada/repos","events_url":"https://api.github.com/users/mastizada/events{/privacy}","received_events_url":"https://api.github.com/users/mastizada/received_events","type":"User","site_admin":false},"body":"bosluklari koy","created_at":"2016-12-17T13:51:51Z","updated_at":"2016-12-17T13:51:51Z","html_url":"https://github.com/itucsdb1630/itucsdb1630/pull/60#discussion_r92922023","pull_request_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60","_links":{"self":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/comments/92922023"},"html":{"href":"https://github.com/itucsdb1630/itucsdb1630/pull/60#discussion_r92922023"},"pull_request":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60"}}},"pull_request":{"url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60","id":98437412,"html_url":"https://github.com/itucsdb1630/itucsdb1630/pull/60","diff_url":"https://github.com/itucsdb1630/itucsdb1630/pull/60.diff","patch_url":"https://github.com/itucsdb1630/itucsdb1630/pull/60.patch","issue_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/60","number":60,"state":"open","locked":false,"title":"Celebrity","user":{"login":"MemduhG","id":5941210,"avatar_url":"https://avatars.githubusercontent.com/u/5941210?v=3","gravatar_id":"","url":"https://api.github.com/users/MemduhG","html_url":"https://github.com/MemduhG","followers_url":"https://api.github.com/users/MemduhG/followers","following_url":"https://api.github.com/users/MemduhG/following{/other_user}","gists_url":"https://api.github.com/users/MemduhG/gists{/gist_id}","starred_url":"https://api.github.com/users/MemduhG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MemduhG/subscriptions","organizations_url":"https://api.github.com/users/MemduhG/orgs","repos_url":"https://api.github.com/users/MemduhG/repos","events_url":"https://api.github.com/users/MemduhG/events{/privacy}","received_events_url":"https://api.github.com/users/MemduhG/received_events","type":"User","site_admin":false},"body":"Celebrity","created_at":"2016-12-17T08:11:12Z","updated_at":"2016-12-17T13:58:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f9a1976fc793345cf90905c859de2b11a65deb30","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60/commits","review_comments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60/comments","review_comment_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/comments{/number}","comments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/60/comments","statuses_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/statuses/949213050c5dde0e96351100c21bf69524b2e2d4","head":{"label":"itucsdb1630:celebrity","ref":"celebrity","sha":"949213050c5dde0e96351100c21bf69524b2e2d4","user":{"login":"itucsdb1630","id":22476036,"avatar_url":"https://avatars.githubusercontent.com/u/22476036?v=3","gravatar_id":"","url":"https://api.github.com/users/itucsdb1630","html_url":"https://github.com/itucsdb1630","followers_url":"https://api.github.com/users/itucsdb1630/followers","following_url":"https://api.github.com/users/itucsdb1630/following{/other_user}","gists_url":"https://api.github.com/users/itucsdb1630/gists{/gist_id}","starred_url":"https://api.github.com/users/itucsdb1630/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itucsdb1630/subscriptions","organizations_url":"https://api.github.com/users/itucsdb1630/orgs","repos_url":"https://api.github.com/users/itucsdb1630/repos","events_url":"https://api.github.com/users/itucsdb1630/events{/privacy}","received_events_url":"https://api.github.com/users/itucsdb1630/received_events","type":"Organization","site_admin":false},"repo":{"id":69677605,"name":"itucsdb1630","full_name":"itucsdb1630/itucsdb1630","owner":{"login":"itucsdb1630","id":22476036,"avatar_url":"https://avatars.githubusercontent.com/u/22476036?v=3","gravatar_id":"","url":"https://api.github.com/users/itucsdb1630","html_url":"https://github.com/itucsdb1630","followers_url":"https://api.github.com/users/itucsdb1630/followers","following_url":"https://api.github.com/users/itucsdb1630/following{/other_user}","gists_url":"https://api.github.com/users/itucsdb1630/gists{/gist_id}","starred_url":"https://api.github.com/users/itucsdb1630/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itucsdb1630/subscriptions","organizations_url":"https://api.github.com/users/itucsdb1630/orgs","repos_url":"https://api.github.com/users/itucsdb1630/repos","events_url":"https://api.github.com/users/itucsdb1630/events{/privacy}","received_events_url":"https://api.github.com/users/itucsdb1630/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/itucsdb1630/itucsdb1630","description":"Light Movie Database - ITU BLG361E Project","fork":true,"url":"https://api.github.com/repos/itucsdb1630/itucsdb1630","forks_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/forks","keys_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/teams","hooks_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/hooks","issue_events_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/events{/number}","events_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/events","assignees_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/assignees{/user}","branches_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/branches{/branch}","tags_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/tags","blobs_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/refs{/sha}","trees_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/statuses/{sha}","languages_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/languages","stargazers_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/stargazers","contributors_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/contributors","subscribers_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/subscribers","subscription_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/subscription","commits_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/commits{/sha}","git_commits_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/commits{/sha}","comments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/comments{/number}","issue_comment_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/comments{/number}","contents_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/contents/{+path}","compare_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/merges","archive_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/downloads","issues_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues{/number}","pulls_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls{/number}","milestones_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/milestones{/number}","notifications_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/labels{/name}","releases_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/releases{/id}","deployments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/deployments","created_at":"2016-09-30T15:16:30Z","updated_at":"2016-11-29T01:48:17Z","pushed_at":"2016-12-17T12:40:26Z","git_url":"git://github.com/itucsdb1630/itucsdb1630.git","ssh_url":"git@github.com:itucsdb1630/itucsdb1630.git","clone_url":"https://github.com/itucsdb1630/itucsdb1630.git","svn_url":"https://github.com/itucsdb1630/itucsdb1630","homepage":"https://www.lightmdb.org/","size":4860,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"itucsdb1630:master","ref":"master","sha":"f91f7892fb7c6aa3f0f367c12e757f7037e13c88","user":{"login":"itucsdb1630","id":22476036,"avatar_url":"https://avatars.githubusercontent.com/u/22476036?v=3","gravatar_id":"","url":"https://api.github.com/users/itucsdb1630","html_url":"https://github.com/itucsdb1630","followers_url":"https://api.github.com/users/itucsdb1630/followers","following_url":"https://api.github.com/users/itucsdb1630/following{/other_user}","gists_url":"https://api.github.com/users/itucsdb1630/gists{/gist_id}","starred_url":"https://api.github.com/users/itucsdb1630/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itucsdb1630/subscriptions","organizations_url":"https://api.github.com/users/itucsdb1630/orgs","repos_url":"https://api.github.com/users/itucsdb1630/repos","events_url":"https://api.github.com/users/itucsdb1630/events{/privacy}","received_events_url":"https://api.github.com/users/itucsdb1630/received_events","type":"Organization","site_admin":false},"repo":{"id":69677605,"name":"itucsdb1630","full_name":"itucsdb1630/itucsdb1630","owner":{"login":"itucsdb1630","id":22476036,"avatar_url":"https://avatars.githubusercontent.com/u/22476036?v=3","gravatar_id":"","url":"https://api.github.com/users/itucsdb1630","html_url":"https://github.com/itucsdb1630","followers_url":"https://api.github.com/users/itucsdb1630/followers","following_url":"https://api.github.com/users/itucsdb1630/following{/other_user}","gists_url":"https://api.github.com/users/itucsdb1630/gists{/gist_id}","starred_url":"https://api.github.com/users/itucsdb1630/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itucsdb1630/subscriptions","organizations_url":"https://api.github.com/users/itucsdb1630/orgs","repos_url":"https://api.github.com/users/itucsdb1630/repos","events_url":"https://api.github.com/users/itucsdb1630/events{/privacy}","received_events_url":"https://api.github.com/users/itucsdb1630/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/itucsdb1630/itucsdb1630","description":"Light Movie Database - ITU BLG361E Project","fork":true,"url":"https://api.github.com/repos/itucsdb1630/itucsdb1630","forks_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/forks","keys_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/teams","hooks_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/hooks","issue_events_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/events{/number}","events_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/events","assignees_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/assignees{/user}","branches_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/branches{/branch}","tags_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/tags","blobs_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/refs{/sha}","trees_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/statuses/{sha}","languages_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/languages","stargazers_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/stargazers","contributors_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/contributors","subscribers_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/subscribers","subscription_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/subscription","commits_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/commits{/sha}","git_commits_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/git/commits{/sha}","comments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/comments{/number}","issue_comment_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/comments{/number}","contents_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/contents/{+path}","compare_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/merges","archive_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/downloads","issues_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues{/number}","pulls_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls{/number}","milestones_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/milestones{/number}","notifications_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/labels{/name}","releases_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/releases{/id}","deployments_url":"https://api.github.com/repos/itucsdb1630/itucsdb1630/deployments","created_at":"2016-09-30T15:16:30Z","updated_at":"2016-11-29T01:48:17Z","pushed_at":"2016-12-17T12:40:26Z","git_url":"git://github.com/itucsdb1630/itucsdb1630.git","ssh_url":"git@github.com:itucsdb1630/itucsdb1630.git","clone_url":"https://github.com/itucsdb1630/itucsdb1630.git","svn_url":"https://github.com/itucsdb1630/itucsdb1630","homepage":"https://www.lightmdb.org/","size":4860,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60"},"html":{"href":"https://github.com/itucsdb1630/itucsdb1630/pull/60"},"issue":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/60"},"comments":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/issues/60/comments"},"review_comments":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60/comments"},"review_comment":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/pulls/60/commits"},"statuses":{"href":"https://api.github.com/repos/itucsdb1630/itucsdb1630/statuses/949213050c5dde0e96351100c21bf69524b2e2d4"}}}}
{"actor":{"display_login":"mastizada"}}