{"action":"created","comment":{"url":"https://api.github.com/repos/eciis/web/pulls/comments/130338441","pull_request_review_id":53201111,"id":130338441,"diff_hunk":"@@ -5,14 +5,22 @@\n \n INDEX_NAME = 'institution'\n \n+\"\"\"This method receives an id, which is the key.urlsafe() of the institution,","path":"search_module.py","position":4,"original_position":4,"commit_id":"0629e2bcffa45debb42ce4a3046f087f57f30b27","original_commit_id":"0629e2bcffa45debb42ce4a3046f087f57f30b27","user":{"login":"mayzabeel","id":6525725,"avatar_url":"https://avatars3.githubusercontent.com/u/6525725?v=4","gravatar_id":"","url":"https://api.github.com/users/mayzabeel","html_url":"https://github.com/mayzabeel","followers_url":"https://api.github.com/users/mayzabeel/followers","following_url":"https://api.github.com/users/mayzabeel/following{/other_user}","gists_url":"https://api.github.com/users/mayzabeel/gists{/gist_id}","starred_url":"https://api.github.com/users/mayzabeel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayzabeel/subscriptions","organizations_url":"https://api.github.com/users/mayzabeel/orgs","repos_url":"https://api.github.com/users/mayzabeel/repos","events_url":"https://api.github.com/users/mayzabeel/events{/privacy}","received_events_url":"https://api.github.com/users/mayzabeel/received_events","type":"User","site_admin":false},"body":"def complex(real=0.0, imag=0.0):\r\n    \"\"\"Form a complex number.\r\n    Keyword arguments:\r\n    real -- the real part (default 0.0)\r\n    imag -- the imaginary part (default 0.0)\r\n    \"\"\"\r\n    if imag == 0.0 and real == 0.0:\r\n        return complex_zero\r\n\r\nExemplo de documentação com parametros, faz nesse estilo :)","created_at":"2017-07-31T12:25:21Z","updated_at":"2017-07-31T12:35:36Z","html_url":"https://github.com/eciis/web/pull/246#discussion_r130338441","pull_request_url":"https://api.github.com/repos/eciis/web/pulls/246","_links":{"self":{"href":"https://api.github.com/repos/eciis/web/pulls/comments/130338441"},"html":{"href":"https://github.com/eciis/web/pull/246#discussion_r130338441"},"pull_request":{"href":"https://api.github.com/repos/eciis/web/pulls/246"}}},"pull_request":{"url":"https://api.github.com/repos/eciis/web/pulls/246","id":132984570,"html_url":"https://github.com/eciis/web/pull/246","diff_url":"https://github.com/eciis/web/pull/246.diff","patch_url":"https://github.com/eciis/web/pull/246.patch","issue_url":"https://api.github.com/repos/eciis/web/issues/246","number":246,"state":"open","locked":false,"title":"Now it suggests existing institutions before the invitation sending","user":{"login":"raonismaneoto","id":23387866,"avatar_url":"https://avatars2.githubusercontent.com/u/23387866?v=4","gravatar_id":"","url":"https://api.github.com/users/raonismaneoto","html_url":"https://github.com/raonismaneoto","followers_url":"https://api.github.com/users/raonismaneoto/followers","following_url":"https://api.github.com/users/raonismaneoto/following{/other_user}","gists_url":"https://api.github.com/users/raonismaneoto/gists{/gist_id}","starred_url":"https://api.github.com/users/raonismaneoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raonismaneoto/subscriptions","organizations_url":"https://api.github.com/users/raonismaneoto/orgs","repos_url":"https://api.github.com/users/raonismaneoto/repos","events_url":"https://api.github.com/users/raonismaneoto/events{/privacy}","received_events_url":"https://api.github.com/users/raonismaneoto/received_events","type":"User","site_admin":false},"body":"When the admin's user clicks on the send invite button, a dialog shows up if there are institutions with the same name of the one he wants to invite. In this case, he can go to institution's page, if it is an active one, or see the invited user's email, if it is a pending one.","created_at":"2017-07-28T14:44:25Z","updated_at":"2017-07-31T12:35:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"10db18a52c2f9da6880b069ee55464ea59b5de9a","assignee":{"login":"raonismaneoto","id":23387866,"avatar_url":"https://avatars2.githubusercontent.com/u/23387866?v=4","gravatar_id":"","url":"https://api.github.com/users/raonismaneoto","html_url":"https://github.com/raonismaneoto","followers_url":"https://api.github.com/users/raonismaneoto/followers","following_url":"https://api.github.com/users/raonismaneoto/following{/other_user}","gists_url":"https://api.github.com/users/raonismaneoto/gists{/gist_id}","starred_url":"https://api.github.com/users/raonismaneoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raonismaneoto/subscriptions","organizations_url":"https://api.github.com/users/raonismaneoto/orgs","repos_url":"https://api.github.com/users/raonismaneoto/repos","events_url":"https://api.github.com/users/raonismaneoto/events{/privacy}","received_events_url":"https://api.github.com/users/raonismaneoto/received_events","type":"User","site_admin":false},"assignees":[{"login":"raonismaneoto","id":23387866,"avatar_url":"https://avatars2.githubusercontent.com/u/23387866?v=4","gravatar_id":"","url":"https://api.github.com/users/raonismaneoto","html_url":"https://github.com/raonismaneoto","followers_url":"https://api.github.com/users/raonismaneoto/followers","following_url":"https://api.github.com/users/raonismaneoto/following{/other_user}","gists_url":"https://api.github.com/users/raonismaneoto/gists{/gist_id}","starred_url":"https://api.github.com/users/raonismaneoto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raonismaneoto/subscriptions","organizations_url":"https://api.github.com/users/raonismaneoto/orgs","repos_url":"https://api.github.com/users/raonismaneoto/repos","events_url":"https://api.github.com/users/raonismaneoto/events{/privacy}","received_events_url":"https://api.github.com/users/raonismaneoto/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":{"url":"https://api.github.com/repos/eciis/web/milestones/2","html_url":"https://github.com/eciis/web/milestone/2","labels_url":"https://api.github.com/repos/eciis/web/milestones/2/labels","id":2628273,"number":2,"title":"MT2","description":"","creator":{"login":"andreldsa","id":2967288,"avatar_url":"https://avatars2.githubusercontent.com/u/2967288?v=4","gravatar_id":"","url":"https://api.github.com/users/andreldsa","html_url":"https://github.com/andreldsa","followers_url":"https://api.github.com/users/andreldsa/followers","following_url":"https://api.github.com/users/andreldsa/following{/other_user}","gists_url":"https://api.github.com/users/andreldsa/gists{/gist_id}","starred_url":"https://api.github.com/users/andreldsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreldsa/subscriptions","organizations_url":"https://api.github.com/users/andreldsa/orgs","repos_url":"https://api.github.com/users/andreldsa/repos","events_url":"https://api.github.com/users/andreldsa/events{/privacy}","received_events_url":"https://api.github.com/users/andreldsa/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":45,"state":"open","created_at":"2017-07-07T19:55:32Z","updated_at":"2017-07-28T17:51:38Z","due_on":"2017-08-12T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/eciis/web/pulls/246/commits","review_comments_url":"https://api.github.com/repos/eciis/web/pulls/246/comments","review_comment_url":"https://api.github.com/repos/eciis/web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/eciis/web/issues/246/comments","statuses_url":"https://api.github.com/repos/eciis/web/statuses/0629e2bcffa45debb42ce4a3046f087f57f30b27","head":{"label":"eciis:suggest-existing-institution-in-invite","ref":"suggest-existing-institution-in-invite","sha":"0629e2bcffa45debb42ce4a3046f087f57f30b27","user":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2017-07-28T12:20:07Z","pushed_at":"2017-07-31T12:13:12Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":3247,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"base":{"label":"eciis:master","ref":"master","sha":"5bb00203dc3615ea508e75d7e7f5b5e8afa2e74c","user":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"repo":{"id":91336041,"name":"web","full_name":"eciis/web","owner":{"login":"eciis","id":28706805,"avatar_url":"https://avatars3.githubusercontent.com/u/28706805?v=4","gravatar_id":"","url":"https://api.github.com/users/eciis","html_url":"https://github.com/eciis","followers_url":"https://api.github.com/users/eciis/followers","following_url":"https://api.github.com/users/eciis/following{/other_user}","gists_url":"https://api.github.com/users/eciis/gists{/gist_id}","starred_url":"https://api.github.com/users/eciis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eciis/subscriptions","organizations_url":"https://api.github.com/users/eciis/orgs","repos_url":"https://api.github.com/users/eciis/repos","events_url":"https://api.github.com/users/eciis/events{/privacy}","received_events_url":"https://api.github.com/users/eciis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/eciis/web","description":"AngularJS Frontend with Appengine Python Backend","fork":false,"url":"https://api.github.com/repos/eciis/web","forks_url":"https://api.github.com/repos/eciis/web/forks","keys_url":"https://api.github.com/repos/eciis/web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/eciis/web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/eciis/web/teams","hooks_url":"https://api.github.com/repos/eciis/web/hooks","issue_events_url":"https://api.github.com/repos/eciis/web/issues/events{/number}","events_url":"https://api.github.com/repos/eciis/web/events","assignees_url":"https://api.github.com/repos/eciis/web/assignees{/user}","branches_url":"https://api.github.com/repos/eciis/web/branches{/branch}","tags_url":"https://api.github.com/repos/eciis/web/tags","blobs_url":"https://api.github.com/repos/eciis/web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/eciis/web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/eciis/web/git/refs{/sha}","trees_url":"https://api.github.com/repos/eciis/web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/eciis/web/statuses/{sha}","languages_url":"https://api.github.com/repos/eciis/web/languages","stargazers_url":"https://api.github.com/repos/eciis/web/stargazers","contributors_url":"https://api.github.com/repos/eciis/web/contributors","subscribers_url":"https://api.github.com/repos/eciis/web/subscribers","subscription_url":"https://api.github.com/repos/eciis/web/subscription","commits_url":"https://api.github.com/repos/eciis/web/commits{/sha}","git_commits_url":"https://api.github.com/repos/eciis/web/git/commits{/sha}","comments_url":"https://api.github.com/repos/eciis/web/comments{/number}","issue_comment_url":"https://api.github.com/repos/eciis/web/issues/comments{/number}","contents_url":"https://api.github.com/repos/eciis/web/contents/{+path}","compare_url":"https://api.github.com/repos/eciis/web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/eciis/web/merges","archive_url":"https://api.github.com/repos/eciis/web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/eciis/web/downloads","issues_url":"https://api.github.com/repos/eciis/web/issues{/number}","pulls_url":"https://api.github.com/repos/eciis/web/pulls{/number}","milestones_url":"https://api.github.com/repos/eciis/web/milestones{/number}","notifications_url":"https://api.github.com/repos/eciis/web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/eciis/web/labels{/name}","releases_url":"https://api.github.com/repos/eciis/web/releases{/id}","deployments_url":"https://api.github.com/repos/eciis/web/deployments","created_at":"2017-05-15T12:37:06Z","updated_at":"2017-07-28T12:20:07Z","pushed_at":"2017-07-31T12:13:12Z","git_url":"git://github.com/eciis/web.git","ssh_url":"git@github.com:eciis/web.git","clone_url":"https://github.com/eciis/web.git","svn_url":"https://github.com/eciis/web","homepage":"","size":3247,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":4,"forks":0,"open_issues":4,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/eciis/web/pulls/246"},"html":{"href":"https://github.com/eciis/web/pull/246"},"issue":{"href":"https://api.github.com/repos/eciis/web/issues/246"},"comments":{"href":"https://api.github.com/repos/eciis/web/issues/246/comments"},"review_comments":{"href":"https://api.github.com/repos/eciis/web/pulls/246/comments"},"review_comment":{"href":"https://api.github.com/repos/eciis/web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/eciis/web/pulls/246/commits"},"statuses":{"href":"https://api.github.com/repos/eciis/web/statuses/0629e2bcffa45debb42ce4a3046f087f57f30b27"}}}}
{"actor":{"display_login":"mayzabeel"}}