{"action":"created","comment":{"url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/comments/193645277","pull_request_review_id":126656274,"id":193645277,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5MzY0NTI3Nw==","diff_hunk":"@@ -0,0 +1,65 @@\n+import unittest\n+\n+\n+class Node:\n+    def __init__(self, data):\n+        self.data = data\n+        self.right = None\n+        self.left = None\n+\n+\n+def find_all_ancestors(root, key, result=None):\n+        \"\"\"\n+        Prints all the ancestors of the given key\n+\n+        :return list of ancestors of the given key or False if the key is not in the Tree\n+        \"\"\"\n+\n+        if root is None:\n+            return False\n+\n+        if result is None:\n+            result = []\n+\n+        if root.data == key:","path":"nfadeeva/assignment2/Assignment_2_Q1.py","position":24,"original_position":24,"commit_id":"48f5af4955fe95bd6e21daee4dec428b3dfcff9e","original_commit_id":"48f5af4955fe95bd6e21daee4dec428b3dfcff9e","user":{"login":"ariava","id":2934778,"node_id":"MDQ6VXNlcjI5MzQ3Nzg=","avatar_url":"https://avatars0.githubusercontent.com/u/2934778?v=4","gravatar_id":"","url":"https://api.github.com/users/ariava","html_url":"https://github.com/ariava","followers_url":"https://api.github.com/users/ariava/followers","following_url":"https://api.github.com/users/ariava/following{/other_user}","gists_url":"https://api.github.com/users/ariava/gists{/gist_id}","starred_url":"https://api.github.com/users/ariava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariava/subscriptions","organizations_url":"https://api.github.com/users/ariava/orgs","repos_url":"https://api.github.com/users/ariava/repos","events_url":"https://api.github.com/users/ariava/events{/privacy}","received_events_url":"https://api.github.com/users/ariava/received_events","type":"User","site_admin":false},"body":"Can you return [root.data] here for consistency?","created_at":"2018-06-07T07:11:09Z","updated_at":"2018-06-07T07:13:36Z","html_url":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9#discussion_r193645277","pull_request_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/comments/193645277"},"html":{"href":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9#discussion_r193645277"},"pull_request":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9","id":192213364,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMjEzMzY0","html_url":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9","diff_url":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9.diff","patch_url":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9.patch","issue_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/9","number":9,"state":"open","locked":false,"title":"Solutions for Assignment2","user":{"login":"nfadeeva","id":14334049,"node_id":"MDQ6VXNlcjE0MzM0MDQ5","avatar_url":"https://avatars2.githubusercontent.com/u/14334049?v=4","gravatar_id":"","url":"https://api.github.com/users/nfadeeva","html_url":"https://github.com/nfadeeva","followers_url":"https://api.github.com/users/nfadeeva/followers","following_url":"https://api.github.com/users/nfadeeva/following{/other_user}","gists_url":"https://api.github.com/users/nfadeeva/gists{/gist_id}","starred_url":"https://api.github.com/users/nfadeeva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfadeeva/subscriptions","organizations_url":"https://api.github.com/users/nfadeeva/orgs","repos_url":"https://api.github.com/users/nfadeeva/repos","events_url":"https://api.github.com/users/nfadeeva/events{/privacy}","received_events_url":"https://api.github.com/users/nfadeeva/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-02T19:12:45Z","updated_at":"2018-06-07T07:13:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e610366ea1847687d5f2e80619d1dbe2d141e51","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9/commits","review_comments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9/comments","review_comment_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/comments{/number}","comments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/9/comments","statuses_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/statuses/48f5af4955fe95bd6e21daee4dec428b3dfcff9e","head":{"label":"flerdacodeu:nfadeeva-2","ref":"nfadeeva-2","sha":"48f5af4955fe95bd6e21daee4dec428b3dfcff9e","user":{"login":"flerdacodeu","id":28591648,"node_id":"MDQ6VXNlcjI4NTkxNjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/28591648?v=4","gravatar_id":"","url":"https://api.github.com/users/flerdacodeu","html_url":"https://github.com/flerdacodeu","followers_url":"https://api.github.com/users/flerdacodeu/followers","following_url":"https://api.github.com/users/flerdacodeu/following{/other_user}","gists_url":"https://api.github.com/users/flerdacodeu/gists{/gist_id}","starred_url":"https://api.github.com/users/flerdacodeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flerdacodeu/subscriptions","organizations_url":"https://api.github.com/users/flerdacodeu/orgs","repos_url":"https://api.github.com/users/flerdacodeu/repos","events_url":"https://api.github.com/users/flerdacodeu/events{/privacy}","received_events_url":"https://api.github.com/users/flerdacodeu/received_events","type":"User","site_admin":false},"repo":{"id":133326650,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMjY2NTA=","name":"CodeU-2018-Group7","full_name":"flerdacodeu/CodeU-2018-Group7","owner":{"login":"flerdacodeu","id":28591648,"node_id":"MDQ6VXNlcjI4NTkxNjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/28591648?v=4","gravatar_id":"","url":"https://api.github.com/users/flerdacodeu","html_url":"https://github.com/flerdacodeu","followers_url":"https://api.github.com/users/flerdacodeu/followers","following_url":"https://api.github.com/users/flerdacodeu/following{/other_user}","gists_url":"https://api.github.com/users/flerdacodeu/gists{/gist_id}","starred_url":"https://api.github.com/users/flerdacodeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flerdacodeu/subscriptions","organizations_url":"https://api.github.com/users/flerdacodeu/orgs","repos_url":"https://api.github.com/users/flerdacodeu/repos","events_url":"https://api.github.com/users/flerdacodeu/events{/privacy}","received_events_url":"https://api.github.com/users/flerdacodeu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flerdacodeu/CodeU-2018-Group7","description":null,"fork":false,"url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7","forks_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/forks","keys_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/teams","hooks_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/hooks","issue_events_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/events{/number}","events_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/events","assignees_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/assignees{/user}","branches_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/branches{/branch}","tags_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/tags","blobs_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/refs{/sha}","trees_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/statuses/{sha}","languages_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/languages","stargazers_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/stargazers","contributors_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/contributors","subscribers_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/subscribers","subscription_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/subscription","commits_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/commits{/sha}","git_commits_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/commits{/sha}","comments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/comments{/number}","issue_comment_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/comments{/number}","contents_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/contents/{+path}","compare_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/merges","archive_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/downloads","issues_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues{/number}","pulls_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls{/number}","milestones_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/milestones{/number}","notifications_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/labels{/name}","releases_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/releases{/id}","deployments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/deployments","created_at":"2018-05-14T08:07:10Z","updated_at":"2018-05-28T10:04:45Z","pushed_at":"2018-06-05T17:07:05Z","git_url":"git://github.com/flerdacodeu/CodeU-2018-Group7.git","ssh_url":"git@github.com:flerdacodeu/CodeU-2018-Group7.git","clone_url":"https://github.com/flerdacodeu/CodeU-2018-Group7.git","svn_url":"https://github.com/flerdacodeu/CodeU-2018-Group7","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"flerdacodeu:master","ref":"master","sha":"e34b34257d84d1305790019d417ed49afdc22059","user":{"login":"flerdacodeu","id":28591648,"node_id":"MDQ6VXNlcjI4NTkxNjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/28591648?v=4","gravatar_id":"","url":"https://api.github.com/users/flerdacodeu","html_url":"https://github.com/flerdacodeu","followers_url":"https://api.github.com/users/flerdacodeu/followers","following_url":"https://api.github.com/users/flerdacodeu/following{/other_user}","gists_url":"https://api.github.com/users/flerdacodeu/gists{/gist_id}","starred_url":"https://api.github.com/users/flerdacodeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flerdacodeu/subscriptions","organizations_url":"https://api.github.com/users/flerdacodeu/orgs","repos_url":"https://api.github.com/users/flerdacodeu/repos","events_url":"https://api.github.com/users/flerdacodeu/events{/privacy}","received_events_url":"https://api.github.com/users/flerdacodeu/received_events","type":"User","site_admin":false},"repo":{"id":133326650,"node_id":"MDEwOlJlcG9zaXRvcnkxMzMzMjY2NTA=","name":"CodeU-2018-Group7","full_name":"flerdacodeu/CodeU-2018-Group7","owner":{"login":"flerdacodeu","id":28591648,"node_id":"MDQ6VXNlcjI4NTkxNjQ4","avatar_url":"https://avatars2.githubusercontent.com/u/28591648?v=4","gravatar_id":"","url":"https://api.github.com/users/flerdacodeu","html_url":"https://github.com/flerdacodeu","followers_url":"https://api.github.com/users/flerdacodeu/followers","following_url":"https://api.github.com/users/flerdacodeu/following{/other_user}","gists_url":"https://api.github.com/users/flerdacodeu/gists{/gist_id}","starred_url":"https://api.github.com/users/flerdacodeu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flerdacodeu/subscriptions","organizations_url":"https://api.github.com/users/flerdacodeu/orgs","repos_url":"https://api.github.com/users/flerdacodeu/repos","events_url":"https://api.github.com/users/flerdacodeu/events{/privacy}","received_events_url":"https://api.github.com/users/flerdacodeu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flerdacodeu/CodeU-2018-Group7","description":null,"fork":false,"url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7","forks_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/forks","keys_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/teams","hooks_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/hooks","issue_events_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/events{/number}","events_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/events","assignees_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/assignees{/user}","branches_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/branches{/branch}","tags_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/tags","blobs_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/refs{/sha}","trees_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/statuses/{sha}","languages_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/languages","stargazers_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/stargazers","contributors_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/contributors","subscribers_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/subscribers","subscription_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/subscription","commits_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/commits{/sha}","git_commits_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/git/commits{/sha}","comments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/comments{/number}","issue_comment_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/comments{/number}","contents_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/contents/{+path}","compare_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/merges","archive_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/downloads","issues_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues{/number}","pulls_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls{/number}","milestones_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/milestones{/number}","notifications_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/labels{/name}","releases_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/releases{/id}","deployments_url":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/deployments","created_at":"2018-05-14T08:07:10Z","updated_at":"2018-05-28T10:04:45Z","pushed_at":"2018-06-05T17:07:05Z","git_url":"git://github.com/flerdacodeu/CodeU-2018-Group7.git","ssh_url":"git@github.com:flerdacodeu/CodeU-2018-Group7.git","clone_url":"https://github.com/flerdacodeu/CodeU-2018-Group7.git","svn_url":"https://github.com/flerdacodeu/CodeU-2018-Group7","homepage":null,"size":43,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9"},"html":{"href":"https://github.com/flerdacodeu/CodeU-2018-Group7/pull/9"},"issue":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/9"},"comments":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/flerdacodeu/CodeU-2018-Group7/statuses/48f5af4955fe95bd6e21daee4dec428b3dfcff9e"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"ariava"}}