{"action":"created","comment":{"url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/comments/46707225","id":46707225,"diff_hunk":"@@ -0,0 +1,50 @@\n+__author__ = 'Max'\n+\n+import math\n+\n+class Circle:\n+    def __init__(self, the_radius):\n+        self.radius = the_radius\n+\n+    @property\n+    def diameter(self):\n+        return (2*self.radius)\n+\n+    @diameter.setter\n+    def diameter(self, value):\n+        self.radius = value / 2\n+\n+    @property\n+    def area(self):\n+        return (math.pi * (self.radius ** 2))\n+\n+    @classmethod\n+    def from_diameter(cls, diameter):\n+        return Circle(diameter/2)\n+\n+    def __str__(self):\n+        return \"Circle with radius: {}\".format(self.radius)\n+\n+    def __repr__(self):\n+        return \"Circle({})\".format(self.radius)\n+\n+    def __add__(self, other):\n+        return Circle(self.radius + other.radius)\n+\n+    def __mul__(self, mul):\n+        return Circle(self.radius * mul)\n+\n+    __rmul__ = __mul__\n+\n+    def __eq__(self, other):\n+        return (self.radius == other.radius)\n+\n+    def __gt__(self, other):\n+        return (self.radius > other.radius)\n+\n+    def __lt__(self, other):\n+        return (self.radius < other.radius)\n+","path":"students/maxmaccamy/session08/circle.py","position":47,"original_position":47,"commit_id":"bb92f4eab0e3e74eae403ca2688540ebc6859e98","original_commit_id":"bb92f4eab0e3e74eae403ca2688540ebc6859e98","user":{"login":"PythonCHB","id":1840917,"avatar_url":"https://avatars.githubusercontent.com/u/1840917?v=3","gravatar_id":"","url":"https://api.github.com/users/PythonCHB","html_url":"https://github.com/PythonCHB","followers_url":"https://api.github.com/users/PythonCHB/followers","following_url":"https://api.github.com/users/PythonCHB/following{/other_user}","gists_url":"https://api.github.com/users/PythonCHB/gists{/gist_id}","starred_url":"https://api.github.com/users/PythonCHB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PythonCHB/subscriptions","organizations_url":"https://api.github.com/users/PythonCHB/orgs","repos_url":"https://api.github.com/users/PythonCHB/repos","events_url":"https://api.github.com/users/PythonCHB/events{/privacy}","received_events_url":"https://api.github.com/users/PythonCHB/received_events","type":"User","site_admin":false},"body":"this all looks good.","created_at":"2015-12-04T17:24:23Z","updated_at":"2015-12-04T17:24:23Z","html_url":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117#discussion_r46707225","pull_request_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/comments/46707225"},"html":{"href":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117#discussion_r46707225"},"pull_request":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117","id":52336200,"html_url":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117","diff_url":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117.diff","patch_url":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117.patch","issue_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/117","number":117,"state":"open","locked":false,"title":"Adding additional files that were not previously managed","user":{"login":"maxmac12","id":13343100,"avatar_url":"https://avatars.githubusercontent.com/u/13343100?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmac12","html_url":"https://github.com/maxmac12","followers_url":"https://api.github.com/users/maxmac12/followers","following_url":"https://api.github.com/users/maxmac12/following{/other_user}","gists_url":"https://api.github.com/users/maxmac12/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmac12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmac12/subscriptions","organizations_url":"https://api.github.com/users/maxmac12/orgs","repos_url":"https://api.github.com/users/maxmac12/repos","events_url":"https://api.github.com/users/maxmac12/events{/privacy}","received_events_url":"https://api.github.com/users/maxmac12/received_events","type":"User","site_admin":false},"body":"Please only review my final project propsal, my Circle class and the associated test file, and my initial HTML renderer file and associated test file. I'm not sure how to remove certain files from a pull request since most of the others I don't want to include.","created_at":"2015-12-02T00:13:01Z","updated_at":"2015-12-04T17:24:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d52f330fdaebd87e69188eb3921ebd2be1dc8516","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117/commits","review_comments_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117/comments","review_comment_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/117/comments","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/statuses/bb92f4eab0e3e74eae403ca2688540ebc6859e98","head":{"label":"maxmac12:master","ref":"master","sha":"bb92f4eab0e3e74eae403ca2688540ebc6859e98","user":{"login":"maxmac12","id":13343100,"avatar_url":"https://avatars.githubusercontent.com/u/13343100?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmac12","html_url":"https://github.com/maxmac12","followers_url":"https://api.github.com/users/maxmac12/followers","following_url":"https://api.github.com/users/maxmac12/following{/other_user}","gists_url":"https://api.github.com/users/maxmac12/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmac12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmac12/subscriptions","organizations_url":"https://api.github.com/users/maxmac12/orgs","repos_url":"https://api.github.com/users/maxmac12/repos","events_url":"https://api.github.com/users/maxmac12/events{/privacy}","received_events_url":"https://api.github.com/users/maxmac12/received_events","type":"User","site_admin":false},"repo":{"id":44216189,"name":"IntroPython2015","full_name":"maxmac12/IntroPython2015","owner":{"login":"maxmac12","id":13343100,"avatar_url":"https://avatars.githubusercontent.com/u/13343100?v=3","gravatar_id":"","url":"https://api.github.com/users/maxmac12","html_url":"https://github.com/maxmac12","followers_url":"https://api.github.com/users/maxmac12/followers","following_url":"https://api.github.com/users/maxmac12/following{/other_user}","gists_url":"https://api.github.com/users/maxmac12/gists{/gist_id}","starred_url":"https://api.github.com/users/maxmac12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxmac12/subscriptions","organizations_url":"https://api.github.com/users/maxmac12/orgs","repos_url":"https://api.github.com/users/maxmac12/repos","events_url":"https://api.github.com/users/maxmac12/events{/privacy}","received_events_url":"https://api.github.com/users/maxmac12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maxmac12/IntroPython2015","description":"","fork":true,"url":"https://api.github.com/repos/maxmac12/IntroPython2015","forks_url":"https://api.github.com/repos/maxmac12/IntroPython2015/forks","keys_url":"https://api.github.com/repos/maxmac12/IntroPython2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maxmac12/IntroPython2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maxmac12/IntroPython2015/teams","hooks_url":"https://api.github.com/repos/maxmac12/IntroPython2015/hooks","issue_events_url":"https://api.github.com/repos/maxmac12/IntroPython2015/issues/events{/number}","events_url":"https://api.github.com/repos/maxmac12/IntroPython2015/events","assignees_url":"https://api.github.com/repos/maxmac12/IntroPython2015/assignees{/user}","branches_url":"https://api.github.com/repos/maxmac12/IntroPython2015/branches{/branch}","tags_url":"https://api.github.com/repos/maxmac12/IntroPython2015/tags","blobs_url":"https://api.github.com/repos/maxmac12/IntroPython2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maxmac12/IntroPython2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maxmac12/IntroPython2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/maxmac12/IntroPython2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maxmac12/IntroPython2015/statuses/{sha}","languages_url":"https://api.github.com/repos/maxmac12/IntroPython2015/languages","stargazers_url":"https://api.github.com/repos/maxmac12/IntroPython2015/stargazers","contributors_url":"https://api.github.com/repos/maxmac12/IntroPython2015/contributors","subscribers_url":"https://api.github.com/repos/maxmac12/IntroPython2015/subscribers","subscription_url":"https://api.github.com/repos/maxmac12/IntroPython2015/subscription","commits_url":"https://api.github.com/repos/maxmac12/IntroPython2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/maxmac12/IntroPython2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/maxmac12/IntroPython2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/maxmac12/IntroPython2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/maxmac12/IntroPython2015/contents/{+path}","compare_url":"https://api.github.com/repos/maxmac12/IntroPython2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maxmac12/IntroPython2015/merges","archive_url":"https://api.github.com/repos/maxmac12/IntroPython2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maxmac12/IntroPython2015/downloads","issues_url":"https://api.github.com/repos/maxmac12/IntroPython2015/issues{/number}","pulls_url":"https://api.github.com/repos/maxmac12/IntroPython2015/pulls{/number}","milestones_url":"https://api.github.com/repos/maxmac12/IntroPython2015/milestones{/number}","notifications_url":"https://api.github.com/repos/maxmac12/IntroPython2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maxmac12/IntroPython2015/labels{/name}","releases_url":"https://api.github.com/repos/maxmac12/IntroPython2015/releases{/id}","created_at":"2015-10-14T01:24:44Z","updated_at":"2015-10-14T03:34:01Z","pushed_at":"2015-12-02T02:18:56Z","git_url":"git://github.com/maxmac12/IntroPython2015.git","ssh_url":"git@github.com:maxmac12/IntroPython2015.git","clone_url":"https://github.com/maxmac12/IntroPython2015.git","svn_url":"https://github.com/maxmac12/IntroPython2015","homepage":null,"size":3696,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"UWPCE-PythonCert:master","ref":"master","sha":"23e935dee18207fd4cdd77a6e8efc2c234360df5","user":{"login":"UWPCE-PythonCert","id":5218825,"avatar_url":"https://avatars.githubusercontent.com/u/5218825?v=3","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert","html_url":"https://github.com/UWPCE-PythonCert","followers_url":"https://api.github.com/users/UWPCE-PythonCert/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert/received_events","type":"Organization","site_admin":false},"repo":{"id":44215972,"name":"IntroPython2015","full_name":"UWPCE-PythonCert/IntroPython2015","owner":{"login":"UWPCE-PythonCert","id":5218825,"avatar_url":"https://avatars.githubusercontent.com/u/5218825?v=3","gravatar_id":"","url":"https://api.github.com/users/UWPCE-PythonCert","html_url":"https://github.com/UWPCE-PythonCert","followers_url":"https://api.github.com/users/UWPCE-PythonCert/followers","following_url":"https://api.github.com/users/UWPCE-PythonCert/following{/other_user}","gists_url":"https://api.github.com/users/UWPCE-PythonCert/gists{/gist_id}","starred_url":"https://api.github.com/users/UWPCE-PythonCert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UWPCE-PythonCert/subscriptions","organizations_url":"https://api.github.com/users/UWPCE-PythonCert/orgs","repos_url":"https://api.github.com/users/UWPCE-PythonCert/repos","events_url":"https://api.github.com/users/UWPCE-PythonCert/events{/privacy}","received_events_url":"https://api.github.com/users/UWPCE-PythonCert/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UWPCE-PythonCert/IntroPython2015","description":"","fork":false,"url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015","forks_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/forks","keys_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/teams","hooks_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/hooks","issue_events_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/events{/number}","events_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/events","assignees_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/assignees{/user}","branches_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/branches{/branch}","tags_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/tags","blobs_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/git/refs{/sha}","trees_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/statuses/{sha}","languages_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/languages","stargazers_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/stargazers","contributors_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/contributors","subscribers_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/subscribers","subscription_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/subscription","commits_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/commits{/sha}","git_commits_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/git/commits{/sha}","comments_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/comments{/number}","issue_comment_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/comments{/number}","contents_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/contents/{+path}","compare_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/merges","archive_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/downloads","issues_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues{/number}","pulls_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls{/number}","milestones_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/milestones{/number}","notifications_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/labels{/name}","releases_url":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/releases{/id}","created_at":"2015-10-14T01:21:03Z","updated_at":"2015-12-04T17:04:25Z","pushed_at":"2015-12-04T17:04:21Z","git_url":"git://github.com/UWPCE-PythonCert/IntroPython2015.git","ssh_url":"git@github.com:UWPCE-PythonCert/IntroPython2015.git","clone_url":"https://github.com/UWPCE-PythonCert/IntroPython2015.git","svn_url":"https://github.com/UWPCE-PythonCert/IntroPython2015","homepage":null,"size":6782,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":2,"forks":24,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117"},"html":{"href":"https://github.com/UWPCE-PythonCert/IntroPython2015/pull/117"},"issue":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/117"},"comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/UWPCE-PythonCert/IntroPython2015/statuses/bb92f4eab0e3e74eae403ca2688540ebc6859e98"}}}}