{"action":"created","comment":{"url":"https://api.github.com/repos/cfierro/todo/pulls/comments/36591382","id":36591382,"diff_hunk":"@@ -1,25 +1,13 @@\n import json\n \n from flask import request\n-from flask_restful import Resource, reqparse\n+from flask_restful import Resource\n \n from app import db, User\n-from app.lib.response_util import buildOkResponse\n+from app.lib.response_util import buildOkResponse, _returnUser","path":"app/users/resources.py","position":9,"original_position":9,"commit_id":"11cc8950bc5d6d642941f9b8af1428c2a0d84462","original_commit_id":"11cc8950bc5d6d642941f9b8af1428c2a0d84462","user":{"login":"cfierro","id":3108508,"avatar_url":"https://avatars.githubusercontent.com/u/3108508?v=3","gravatar_id":"","url":"https://api.github.com/users/cfierro","html_url":"https://github.com/cfierro","followers_url":"https://api.github.com/users/cfierro/followers","following_url":"https://api.github.com/users/cfierro/following{/other_user}","gists_url":"https://api.github.com/users/cfierro/gists{/gist_id}","starred_url":"https://api.github.com/users/cfierro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfierro/subscriptions","organizations_url":"https://api.github.com/users/cfierro/orgs","repos_url":"https://api.github.com/users/cfierro/repos","events_url":"https://api.github.com/users/cfierro/events{/privacy}","received_events_url":"https://api.github.com/users/cfierro/received_events","type":"User","site_admin":false},"body":"Same comment about import the whole response_util module.","created_at":"2015-08-09T17:57:34Z","updated_at":"2015-08-09T17:57:34Z","html_url":"https://github.com/cfierro/todo/pull/10#discussion_r36591382","pull_request_url":"https://api.github.com/repos/cfierro/todo/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/cfierro/todo/pulls/comments/36591382"},"html":{"href":"https://github.com/cfierro/todo/pull/10#discussion_r36591382"},"pull_request":{"href":"https://api.github.com/repos/cfierro/todo/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/cfierro/todo/pulls/10","id":41809656,"html_url":"https://github.com/cfierro/todo/pull/10","diff_url":"https://github.com/cfierro/todo/pull/10.diff","patch_url":"https://github.com/cfierro/todo/pull/10.patch","issue_url":"https://api.github.com/repos/cfierro/todo/issues/10","number":10,"state":"open","locked":false,"title":"[charlie] added session resources","user":{"login":"MelindaK","id":7876128,"avatar_url":"https://avatars.githubusercontent.com/u/7876128?v=3","gravatar_id":"","url":"https://api.github.com/users/MelindaK","html_url":"https://github.com/MelindaK","followers_url":"https://api.github.com/users/MelindaK/followers","following_url":"https://api.github.com/users/MelindaK/following{/other_user}","gists_url":"https://api.github.com/users/MelindaK/gists{/gist_id}","starred_url":"https://api.github.com/users/MelindaK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelindaK/subscriptions","organizations_url":"https://api.github.com/users/MelindaK/orgs","repos_url":"https://api.github.com/users/MelindaK/repos","events_url":"https://api.github.com/users/MelindaK/events{/privacy}","received_events_url":"https://api.github.com/users/MelindaK/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-06T16:51:51Z","updated_at":"2015-08-09T17:57:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eefe116ddf5e8e05e06e4b09bf6c78778fe4035e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cfierro/todo/pulls/10/commits","review_comments_url":"https://api.github.com/repos/cfierro/todo/pulls/10/comments","review_comment_url":"https://api.github.com/repos/cfierro/todo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cfierro/todo/issues/10/comments","statuses_url":"https://api.github.com/repos/cfierro/todo/statuses/11cc8950bc5d6d642941f9b8af1428c2a0d84462","head":{"label":"MelindaK:auth","ref":"auth","sha":"11cc8950bc5d6d642941f9b8af1428c2a0d84462","user":{"login":"MelindaK","id":7876128,"avatar_url":"https://avatars.githubusercontent.com/u/7876128?v=3","gravatar_id":"","url":"https://api.github.com/users/MelindaK","html_url":"https://github.com/MelindaK","followers_url":"https://api.github.com/users/MelindaK/followers","following_url":"https://api.github.com/users/MelindaK/following{/other_user}","gists_url":"https://api.github.com/users/MelindaK/gists{/gist_id}","starred_url":"https://api.github.com/users/MelindaK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelindaK/subscriptions","organizations_url":"https://api.github.com/users/MelindaK/orgs","repos_url":"https://api.github.com/users/MelindaK/repos","events_url":"https://api.github.com/users/MelindaK/events{/privacy}","received_events_url":"https://api.github.com/users/MelindaK/received_events","type":"User","site_admin":false},"repo":{"id":37996077,"name":"todo","full_name":"MelindaK/todo","owner":{"login":"MelindaK","id":7876128,"avatar_url":"https://avatars.githubusercontent.com/u/7876128?v=3","gravatar_id":"","url":"https://api.github.com/users/MelindaK","html_url":"https://github.com/MelindaK","followers_url":"https://api.github.com/users/MelindaK/followers","following_url":"https://api.github.com/users/MelindaK/following{/other_user}","gists_url":"https://api.github.com/users/MelindaK/gists{/gist_id}","starred_url":"https://api.github.com/users/MelindaK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MelindaK/subscriptions","organizations_url":"https://api.github.com/users/MelindaK/orgs","repos_url":"https://api.github.com/users/MelindaK/repos","events_url":"https://api.github.com/users/MelindaK/events{/privacy}","received_events_url":"https://api.github.com/users/MelindaK/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MelindaK/todo","description":"","fork":true,"url":"https://api.github.com/repos/MelindaK/todo","forks_url":"https://api.github.com/repos/MelindaK/todo/forks","keys_url":"https://api.github.com/repos/MelindaK/todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MelindaK/todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MelindaK/todo/teams","hooks_url":"https://api.github.com/repos/MelindaK/todo/hooks","issue_events_url":"https://api.github.com/repos/MelindaK/todo/issues/events{/number}","events_url":"https://api.github.com/repos/MelindaK/todo/events","assignees_url":"https://api.github.com/repos/MelindaK/todo/assignees{/user}","branches_url":"https://api.github.com/repos/MelindaK/todo/branches{/branch}","tags_url":"https://api.github.com/repos/MelindaK/todo/tags","blobs_url":"https://api.github.com/repos/MelindaK/todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MelindaK/todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MelindaK/todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/MelindaK/todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MelindaK/todo/statuses/{sha}","languages_url":"https://api.github.com/repos/MelindaK/todo/languages","stargazers_url":"https://api.github.com/repos/MelindaK/todo/stargazers","contributors_url":"https://api.github.com/repos/MelindaK/todo/contributors","subscribers_url":"https://api.github.com/repos/MelindaK/todo/subscribers","subscription_url":"https://api.github.com/repos/MelindaK/todo/subscription","commits_url":"https://api.github.com/repos/MelindaK/todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/MelindaK/todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/MelindaK/todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/MelindaK/todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/MelindaK/todo/contents/{+path}","compare_url":"https://api.github.com/repos/MelindaK/todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MelindaK/todo/merges","archive_url":"https://api.github.com/repos/MelindaK/todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MelindaK/todo/downloads","issues_url":"https://api.github.com/repos/MelindaK/todo/issues{/number}","pulls_url":"https://api.github.com/repos/MelindaK/todo/pulls{/number}","milestones_url":"https://api.github.com/repos/MelindaK/todo/milestones{/number}","notifications_url":"https://api.github.com/repos/MelindaK/todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MelindaK/todo/labels{/name}","releases_url":"https://api.github.com/repos/MelindaK/todo/releases{/id}","created_at":"2015-06-24T16:19:28Z","updated_at":"2015-07-22T19:49:33Z","pushed_at":"2015-08-05T18:22:28Z","git_url":"git://github.com/MelindaK/todo.git","ssh_url":"git@github.com:MelindaK/todo.git","clone_url":"https://github.com/MelindaK/todo.git","svn_url":"https://github.com/MelindaK/todo","homepage":null,"size":149,"stargazers_count":1,"watchers_count":1,"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":1,"default_branch":"master"}},"base":{"label":"cfierro:master","ref":"master","sha":"c5a1aa34f01d1ed936c781366fe09ffd42aaa3d7","user":{"login":"cfierro","id":3108508,"avatar_url":"https://avatars.githubusercontent.com/u/3108508?v=3","gravatar_id":"","url":"https://api.github.com/users/cfierro","html_url":"https://github.com/cfierro","followers_url":"https://api.github.com/users/cfierro/followers","following_url":"https://api.github.com/users/cfierro/following{/other_user}","gists_url":"https://api.github.com/users/cfierro/gists{/gist_id}","starred_url":"https://api.github.com/users/cfierro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfierro/subscriptions","organizations_url":"https://api.github.com/users/cfierro/orgs","repos_url":"https://api.github.com/users/cfierro/repos","events_url":"https://api.github.com/users/cfierro/events{/privacy}","received_events_url":"https://api.github.com/users/cfierro/received_events","type":"User","site_admin":false},"repo":{"id":37995958,"name":"todo","full_name":"cfierro/todo","owner":{"login":"cfierro","id":3108508,"avatar_url":"https://avatars.githubusercontent.com/u/3108508?v=3","gravatar_id":"","url":"https://api.github.com/users/cfierro","html_url":"https://github.com/cfierro","followers_url":"https://api.github.com/users/cfierro/followers","following_url":"https://api.github.com/users/cfierro/following{/other_user}","gists_url":"https://api.github.com/users/cfierro/gists{/gist_id}","starred_url":"https://api.github.com/users/cfierro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cfierro/subscriptions","organizations_url":"https://api.github.com/users/cfierro/orgs","repos_url":"https://api.github.com/users/cfierro/repos","events_url":"https://api.github.com/users/cfierro/events{/privacy}","received_events_url":"https://api.github.com/users/cfierro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cfierro/todo","description":"","fork":false,"url":"https://api.github.com/repos/cfierro/todo","forks_url":"https://api.github.com/repos/cfierro/todo/forks","keys_url":"https://api.github.com/repos/cfierro/todo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cfierro/todo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cfierro/todo/teams","hooks_url":"https://api.github.com/repos/cfierro/todo/hooks","issue_events_url":"https://api.github.com/repos/cfierro/todo/issues/events{/number}","events_url":"https://api.github.com/repos/cfierro/todo/events","assignees_url":"https://api.github.com/repos/cfierro/todo/assignees{/user}","branches_url":"https://api.github.com/repos/cfierro/todo/branches{/branch}","tags_url":"https://api.github.com/repos/cfierro/todo/tags","blobs_url":"https://api.github.com/repos/cfierro/todo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cfierro/todo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cfierro/todo/git/refs{/sha}","trees_url":"https://api.github.com/repos/cfierro/todo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cfierro/todo/statuses/{sha}","languages_url":"https://api.github.com/repos/cfierro/todo/languages","stargazers_url":"https://api.github.com/repos/cfierro/todo/stargazers","contributors_url":"https://api.github.com/repos/cfierro/todo/contributors","subscribers_url":"https://api.github.com/repos/cfierro/todo/subscribers","subscription_url":"https://api.github.com/repos/cfierro/todo/subscription","commits_url":"https://api.github.com/repos/cfierro/todo/commits{/sha}","git_commits_url":"https://api.github.com/repos/cfierro/todo/git/commits{/sha}","comments_url":"https://api.github.com/repos/cfierro/todo/comments{/number}","issue_comment_url":"https://api.github.com/repos/cfierro/todo/issues/comments{/number}","contents_url":"https://api.github.com/repos/cfierro/todo/contents/{+path}","compare_url":"https://api.github.com/repos/cfierro/todo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cfierro/todo/merges","archive_url":"https://api.github.com/repos/cfierro/todo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cfierro/todo/downloads","issues_url":"https://api.github.com/repos/cfierro/todo/issues{/number}","pulls_url":"https://api.github.com/repos/cfierro/todo/pulls{/number}","milestones_url":"https://api.github.com/repos/cfierro/todo/milestones{/number}","notifications_url":"https://api.github.com/repos/cfierro/todo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cfierro/todo/labels{/name}","releases_url":"https://api.github.com/repos/cfierro/todo/releases{/id}","created_at":"2015-06-24T16:17:03Z","updated_at":"2015-06-24T16:18:04Z","pushed_at":"2015-08-06T16:51:52Z","git_url":"git://github.com/cfierro/todo.git","ssh_url":"git@github.com:cfierro/todo.git","clone_url":"https://github.com/cfierro/todo.git","svn_url":"https://github.com/cfierro/todo","homepage":null,"size":247,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cfierro/todo/pulls/10"},"html":{"href":"https://github.com/cfierro/todo/pull/10"},"issue":{"href":"https://api.github.com/repos/cfierro/todo/issues/10"},"comments":{"href":"https://api.github.com/repos/cfierro/todo/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/cfierro/todo/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/cfierro/todo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cfierro/todo/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/cfierro/todo/statuses/11cc8950bc5d6d642941f9b8af1428c2a0d84462"}}}}