{"action":"created","comment":{"url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/comments/46076065","id":46076065,"diff_hunk":"@@ -103,7 +105,7 @@ def user_preferences(self):\n         return self._user_preferences(self.project_api, self.user_id)\n \n     @staticmethod\n-    @memoize_with_expiration(expires_after=timedelta(seconds=5))\n+    @memoize_with_expiration(expires_after=DEFAULT_EXPIRATION_TIME)","path":"group_project_v2/mixins.py","position":33,"original_position":33,"commit_id":"0e6efc3ae93567242a10a05284ec4301bfddc33e","original_commit_id":"0e6efc3ae93567242a10a05284ec4301bfddc33e","user":{"login":"bradenmacdonald","id":945577,"avatar_url":"https://avatars.githubusercontent.com/u/945577?v=3","gravatar_id":"","url":"https://api.github.com/users/bradenmacdonald","html_url":"https://github.com/bradenmacdonald","followers_url":"https://api.github.com/users/bradenmacdonald/followers","following_url":"https://api.github.com/users/bradenmacdonald/following{/other_user}","gists_url":"https://api.github.com/users/bradenmacdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/bradenmacdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradenmacdonald/subscriptions","organizations_url":"https://api.github.com/users/bradenmacdonald/orgs","repos_url":"https://api.github.com/users/bradenmacdonald/repos","events_url":"https://api.github.com/users/bradenmacdonald/events{/privacy}","received_events_url":"https://api.github.com/users/bradenmacdonald/received_events","type":"User","site_admin":false},"body":"I think you should change `memoize_with_expiration` so that `DEFAULT_EXPIRATION_TIME` is the default when no arguments are supplied. You currently use `memoize_with_expiration` nine times, and each use explicitly specifies the same default value.","created_at":"2015-11-28T05:02:15Z","updated_at":"2015-11-28T05:02:15Z","html_url":"https://github.com/open-craft/xblock-group-project-v2/pull/65#discussion_r46076065","pull_request_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65","_links":{"self":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/comments/46076065"},"html":{"href":"https://github.com/open-craft/xblock-group-project-v2/pull/65#discussion_r46076065"},"pull_request":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65"}}},"pull_request":{"url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65","id":51656045,"html_url":"https://github.com/open-craft/xblock-group-project-v2/pull/65","diff_url":"https://github.com/open-craft/xblock-group-project-v2/pull/65.diff","patch_url":"https://github.com/open-craft/xblock-group-project-v2/pull/65.patch","issue_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/65","number":65,"state":"open","locked":false,"title":"(WIP) Admin dashboard - actual stage stats","user":{"login":"e-kolpakov","id":3330048,"avatar_url":"https://avatars.githubusercontent.com/u/3330048?v=3","gravatar_id":"","url":"https://api.github.com/users/e-kolpakov","html_url":"https://github.com/e-kolpakov","followers_url":"https://api.github.com/users/e-kolpakov/followers","following_url":"https://api.github.com/users/e-kolpakov/following{/other_user}","gists_url":"https://api.github.com/users/e-kolpakov/gists{/gist_id}","starred_url":"https://api.github.com/users/e-kolpakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-kolpakov/subscriptions","organizations_url":"https://api.github.com/users/e-kolpakov/orgs","repos_url":"https://api.github.com/users/e-kolpakov/repos","events_url":"https://api.github.com/users/e-kolpakov/events{/privacy}","received_events_url":"https://api.github.com/users/e-kolpakov/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-24T12:57:16Z","updated_at":"2015-11-28T05:02:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"abc3bd0142ea60fb1f70e409690fa4d8952378e3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65/commits","review_comments_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65/comments","review_comment_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/65/comments","statuses_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/statuses/0e6efc3ae93567242a10a05284ec4301bfddc33e","head":{"label":"open-craft:admin_dashboard","ref":"admin_dashboard","sha":"0e6efc3ae93567242a10a05284ec4301bfddc33e","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":36354647,"name":"xblock-group-project-v2","full_name":"open-craft/xblock-group-project-v2","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/xblock-group-project-v2","description":"Group Project XBlock v2","fork":false,"url":"https://api.github.com/repos/open-craft/xblock-group-project-v2","forks_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/forks","keys_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/teams","hooks_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/hooks","issue_events_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/events","assignees_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/tags","blobs_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/languages","stargazers_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/stargazers","contributors_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/contributors","subscribers_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/subscribers","subscription_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/subscription","commits_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/merges","archive_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/downloads","issues_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/releases{/id}","created_at":"2015-05-27T08:45:35Z","updated_at":"2015-10-05T11:45:34Z","pushed_at":"2015-11-27T12:54:43Z","git_url":"git://github.com/open-craft/xblock-group-project-v2.git","ssh_url":"git@github.com:open-craft/xblock-group-project-v2.git","clone_url":"https://github.com/open-craft/xblock-group-project-v2.git","svn_url":"https://github.com/open-craft/xblock-group-project-v2","homepage":null,"size":1692,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"open-craft:master","ref":"master","sha":"ca6dfe39b4ed73a7076990b5b31ed27f74603a63","user":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"repo":{"id":36354647,"name":"xblock-group-project-v2","full_name":"open-craft/xblock-group-project-v2","owner":{"login":"open-craft","id":7414786,"avatar_url":"https://avatars.githubusercontent.com/u/7414786?v=3","gravatar_id":"","url":"https://api.github.com/users/open-craft","html_url":"https://github.com/open-craft","followers_url":"https://api.github.com/users/open-craft/followers","following_url":"https://api.github.com/users/open-craft/following{/other_user}","gists_url":"https://api.github.com/users/open-craft/gists{/gist_id}","starred_url":"https://api.github.com/users/open-craft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/open-craft/subscriptions","organizations_url":"https://api.github.com/users/open-craft/orgs","repos_url":"https://api.github.com/users/open-craft/repos","events_url":"https://api.github.com/users/open-craft/events{/privacy}","received_events_url":"https://api.github.com/users/open-craft/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/open-craft/xblock-group-project-v2","description":"Group Project XBlock v2","fork":false,"url":"https://api.github.com/repos/open-craft/xblock-group-project-v2","forks_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/forks","keys_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/teams","hooks_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/hooks","issue_events_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/events{/number}","events_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/events","assignees_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/assignees{/user}","branches_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/branches{/branch}","tags_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/tags","blobs_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/refs{/sha}","trees_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/statuses/{sha}","languages_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/languages","stargazers_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/stargazers","contributors_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/contributors","subscribers_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/subscribers","subscription_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/subscription","commits_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/commits{/sha}","git_commits_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/git/commits{/sha}","comments_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/comments{/number}","issue_comment_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/comments{/number}","contents_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/contents/{+path}","compare_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/merges","archive_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/downloads","issues_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues{/number}","pulls_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls{/number}","milestones_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/milestones{/number}","notifications_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/labels{/name}","releases_url":"https://api.github.com/repos/open-craft/xblock-group-project-v2/releases{/id}","created_at":"2015-05-27T08:45:35Z","updated_at":"2015-10-05T11:45:34Z","pushed_at":"2015-11-27T12:54:43Z","git_url":"git://github.com/open-craft/xblock-group-project-v2.git","ssh_url":"git@github.com:open-craft/xblock-group-project-v2.git","clone_url":"https://github.com/open-craft/xblock-group-project-v2.git","svn_url":"https://github.com/open-craft/xblock-group-project-v2","homepage":null,"size":1692,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65"},"html":{"href":"https://github.com/open-craft/xblock-group-project-v2/pull/65"},"issue":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/65"},"comments":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/issues/65/comments"},"review_comments":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65/comments"},"review_comment":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/pulls/65/commits"},"statuses":{"href":"https://api.github.com/repos/open-craft/xblock-group-project-v2/statuses/0e6efc3ae93567242a10a05284ec4301bfddc33e"}}}}