{"action":"created","comment":{"url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/comments/216572044","pull_request_review_id":154081767,"id":216572044,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjU3MjA0NA==","diff_hunk":"@@ -34,3 +34,11 @@ class EnterpriseUserSerializer(serializers.ModelSerializer):\n     class Meta:\n         model = EnterpriseUser\n         exclude = ('created', )\n+\n+\n+class LearnerCompletedCoursesSerializer(serializers.Serializer):    # pylint: disable=abstract-method\n+    \"\"\"\n+    Serializer for learner's completed courses.\n+    \"\"\"\n+    user_email = serializers.EmailField()\n+    completed_courses = serializers.IntegerField()","path":"enterprise_data/api/v0/serializers.py","position":11,"original_position":11,"commit_id":"1eccf80c91274dfbaef39f7ee8435fc6e54872d4","original_commit_id":"1eccf80c91274dfbaef39f7ee8435fc6e54872d4","user":{"login":"mushtaqak","id":6991154,"node_id":"MDQ6VXNlcjY5OTExNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6991154?v=4","gravatar_id":"","url":"https://api.github.com/users/mushtaqak","html_url":"https://github.com/mushtaqak","followers_url":"https://api.github.com/users/mushtaqak/followers","following_url":"https://api.github.com/users/mushtaqak/following{/other_user}","gists_url":"https://api.github.com/users/mushtaqak/gists{/gist_id}","starred_url":"https://api.github.com/users/mushtaqak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushtaqak/subscriptions","organizations_url":"https://api.github.com/users/mushtaqak/orgs","repos_url":"https://api.github.com/users/mushtaqak/repos","events_url":"https://api.github.com/users/mushtaqak/events{/privacy}","received_events_url":"https://api.github.com/users/mushtaqak/received_events","type":"User","site_admin":false},"body":"Actually there is no `PositiveIntegerField` serializer field 🙉 ","created_at":"2018-09-11T07:38:21Z","updated_at":"2018-09-11T07:38:21Z","html_url":"https://github.com/edx/edx-enterprise-data/pull/61#discussion_r216572044","pull_request_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/comments/216572044"},"html":{"href":"https://github.com/edx/edx-enterprise-data/pull/61#discussion_r216572044"},"pull_request":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61"}},"in_reply_to_id":216305314},"pull_request":{"url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61","id":213888742,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzODg4NzQy","html_url":"https://github.com/edx/edx-enterprise-data/pull/61","diff_url":"https://github.com/edx/edx-enterprise-data/pull/61.diff","patch_url":"https://github.com/edx/edx-enterprise-data/pull/61.patch","issue_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/61","number":61,"state":"open","locked":false,"title":"Learner completed courses","user":{"login":"mushtaqak","id":6991154,"node_id":"MDQ6VXNlcjY5OTExNTQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6991154?v=4","gravatar_id":"","url":"https://api.github.com/users/mushtaqak","html_url":"https://github.com/mushtaqak","followers_url":"https://api.github.com/users/mushtaqak/followers","following_url":"https://api.github.com/users/mushtaqak/following{/other_user}","gists_url":"https://api.github.com/users/mushtaqak/gists{/gist_id}","starred_url":"https://api.github.com/users/mushtaqak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mushtaqak/subscriptions","organizations_url":"https://api.github.com/users/mushtaqak/orgs","repos_url":"https://api.github.com/users/mushtaqak/repos","events_url":"https://api.github.com/users/mushtaqak/events{/privacy}","received_events_url":"https://api.github.com/users/mushtaqak/received_events","type":"User","site_admin":false},"body":"Related edx-portal PR: https://github.com/edx/edx-portal/pull/66\r\n[ENT-1167](https://openedx.atlassian.net/browse/ENT-1167)","created_at":"2018-09-07T10:44:33Z","updated_at":"2018-09-11T07:38:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"645a3dc3ae783b52f6342e6e36697e1dc2e6b01e","assignee":null,"assignees":[],"requested_reviewers":[{"login":"georgebabey","id":1643389,"node_id":"MDQ6VXNlcjE2NDMzODk=","avatar_url":"https://avatars2.githubusercontent.com/u/1643389?v=4","gravatar_id":"","url":"https://api.github.com/users/georgebabey","html_url":"https://github.com/georgebabey","followers_url":"https://api.github.com/users/georgebabey/followers","following_url":"https://api.github.com/users/georgebabey/following{/other_user}","gists_url":"https://api.github.com/users/georgebabey/gists{/gist_id}","starred_url":"https://api.github.com/users/georgebabey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/georgebabey/subscriptions","organizations_url":"https://api.github.com/users/georgebabey/orgs","repos_url":"https://api.github.com/users/georgebabey/repos","events_url":"https://api.github.com/users/georgebabey/events{/privacy}","received_events_url":"https://api.github.com/users/georgebabey/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61/commits","review_comments_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61/comments","review_comment_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/comments{/number}","comments_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/61/comments","statuses_url":"https://api.github.com/repos/edx/edx-enterprise-data/statuses/1eccf80c91274dfbaef39f7ee8435fc6e54872d4","head":{"label":"edx:mushtaq/completed_courses","ref":"mushtaq/completed_courses","sha":"1eccf80c91274dfbaef39f7ee8435fc6e54872d4","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":105808527,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU4MDg1Mjc=","name":"edx-enterprise-data","full_name":"edx/edx-enterprise-data","owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-enterprise-data","description":"The edX Enterprise Data repo is the home to tools and products related to providing access to Enterprise related data.","fork":false,"url":"https://api.github.com/repos/edx/edx-enterprise-data","forks_url":"https://api.github.com/repos/edx/edx-enterprise-data/forks","keys_url":"https://api.github.com/repos/edx/edx-enterprise-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-enterprise-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-enterprise-data/teams","hooks_url":"https://api.github.com/repos/edx/edx-enterprise-data/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-enterprise-data/events","assignees_url":"https://api.github.com/repos/edx/edx-enterprise-data/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-enterprise-data/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-enterprise-data/tags","blobs_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-enterprise-data/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-enterprise-data/languages","stargazers_url":"https://api.github.com/repos/edx/edx-enterprise-data/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-enterprise-data/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-enterprise-data/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-enterprise-data/subscription","commits_url":"https://api.github.com/repos/edx/edx-enterprise-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-enterprise-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-enterprise-data/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-enterprise-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-enterprise-data/merges","archive_url":"https://api.github.com/repos/edx/edx-enterprise-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-enterprise-data/downloads","issues_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-enterprise-data/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-enterprise-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-enterprise-data/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-enterprise-data/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-enterprise-data/deployments","created_at":"2017-10-04T19:19:49Z","updated_at":"2018-09-07T13:47:06Z","pushed_at":"2018-09-10T20:05:41Z","git_url":"git://github.com/edx/edx-enterprise-data.git","ssh_url":"git@github.com:edx/edx-enterprise-data.git","clone_url":"https://github.com/edx/edx-enterprise-data.git","svn_url":"https://github.com/edx/edx-enterprise-data","homepage":null,"size":213,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"base":{"label":"edx:master","ref":"master","sha":"bddabb895f3e83281c673045cef595c78faff75a","user":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"repo":{"id":105808527,"node_id":"MDEwOlJlcG9zaXRvcnkxMDU4MDg1Mjc=","name":"edx-enterprise-data","full_name":"edx/edx-enterprise-data","owner":{"login":"edx","id":3179841,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNzk4NDE=","avatar_url":"https://avatars3.githubusercontent.com/u/3179841?v=4","gravatar_id":"","url":"https://api.github.com/users/edx","html_url":"https://github.com/edx","followers_url":"https://api.github.com/users/edx/followers","following_url":"https://api.github.com/users/edx/following{/other_user}","gists_url":"https://api.github.com/users/edx/gists{/gist_id}","starred_url":"https://api.github.com/users/edx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edx/subscriptions","organizations_url":"https://api.github.com/users/edx/orgs","repos_url":"https://api.github.com/users/edx/repos","events_url":"https://api.github.com/users/edx/events{/privacy}","received_events_url":"https://api.github.com/users/edx/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/edx/edx-enterprise-data","description":"The edX Enterprise Data repo is the home to tools and products related to providing access to Enterprise related data.","fork":false,"url":"https://api.github.com/repos/edx/edx-enterprise-data","forks_url":"https://api.github.com/repos/edx/edx-enterprise-data/forks","keys_url":"https://api.github.com/repos/edx/edx-enterprise-data/keys{/key_id}","collaborators_url":"https://api.github.com/repos/edx/edx-enterprise-data/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/edx/edx-enterprise-data/teams","hooks_url":"https://api.github.com/repos/edx/edx-enterprise-data/hooks","issue_events_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/events{/number}","events_url":"https://api.github.com/repos/edx/edx-enterprise-data/events","assignees_url":"https://api.github.com/repos/edx/edx-enterprise-data/assignees{/user}","branches_url":"https://api.github.com/repos/edx/edx-enterprise-data/branches{/branch}","tags_url":"https://api.github.com/repos/edx/edx-enterprise-data/tags","blobs_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/refs{/sha}","trees_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/trees{/sha}","statuses_url":"https://api.github.com/repos/edx/edx-enterprise-data/statuses/{sha}","languages_url":"https://api.github.com/repos/edx/edx-enterprise-data/languages","stargazers_url":"https://api.github.com/repos/edx/edx-enterprise-data/stargazers","contributors_url":"https://api.github.com/repos/edx/edx-enterprise-data/contributors","subscribers_url":"https://api.github.com/repos/edx/edx-enterprise-data/subscribers","subscription_url":"https://api.github.com/repos/edx/edx-enterprise-data/subscription","commits_url":"https://api.github.com/repos/edx/edx-enterprise-data/commits{/sha}","git_commits_url":"https://api.github.com/repos/edx/edx-enterprise-data/git/commits{/sha}","comments_url":"https://api.github.com/repos/edx/edx-enterprise-data/comments{/number}","issue_comment_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues/comments{/number}","contents_url":"https://api.github.com/repos/edx/edx-enterprise-data/contents/{+path}","compare_url":"https://api.github.com/repos/edx/edx-enterprise-data/compare/{base}...{head}","merges_url":"https://api.github.com/repos/edx/edx-enterprise-data/merges","archive_url":"https://api.github.com/repos/edx/edx-enterprise-data/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/edx/edx-enterprise-data/downloads","issues_url":"https://api.github.com/repos/edx/edx-enterprise-data/issues{/number}","pulls_url":"https://api.github.com/repos/edx/edx-enterprise-data/pulls{/number}","milestones_url":"https://api.github.com/repos/edx/edx-enterprise-data/milestones{/number}","notifications_url":"https://api.github.com/repos/edx/edx-enterprise-data/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/edx/edx-enterprise-data/labels{/name}","releases_url":"https://api.github.com/repos/edx/edx-enterprise-data/releases{/id}","deployments_url":"https://api.github.com/repos/edx/edx-enterprise-data/deployments","created_at":"2017-10-04T19:19:49Z","updated_at":"2018-09-07T13:47:06Z","pushed_at":"2018-09-10T20:05:41Z","git_url":"git://github.com/edx/edx-enterprise-data.git","ssh_url":"git@github.com:edx/edx-enterprise-data.git","clone_url":"https://github.com/edx/edx-enterprise-data.git","svn_url":"https://github.com/edx/edx-enterprise-data","homepage":null,"size":213,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":2,"open_issues":4,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61"},"html":{"href":"https://github.com/edx/edx-enterprise-data/pull/61"},"issue":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/issues/61"},"comments":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/issues/61/comments"},"review_comments":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61/comments"},"review_comment":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/pulls/61/commits"},"statuses":{"href":"https://api.github.com/repos/edx/edx-enterprise-data/statuses/1eccf80c91274dfbaef39f7ee8435fc6e54872d4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"mushtaqak"}}