{"action":"created","comment":{"url":"https://api.github.com/repos/girder/girder/pulls/comments/214164794","pull_request_review_id":151162139,"id":214164794,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDE2NDc5NA==","diff_hunk":"@@ -174,63 +174,55 @@ def _validatePolicy(self, policy):\n                            dictionary as if the JSON was already decoded.\n         :returns: a validate policy dictionary.\n         \"\"\"\n-        validKeys = []\n-        for key in dir(self):\n-            if key.startswith('_validate_'):\n-                validKeys.append(key.split('_validate_', 1)[1])\n-        for key in list(policy):\n-            if key.startswith('_'):\n-                del policy[key]\n+        validKeys = [k[10:] for k in dir(self) if k.startswith('_validate_')]\n+        policy = {k: v for k, v in six.iteritems(policy) if not k.startswith('_')}","path":"plugins/user_quota/server/quota.py","position":12,"original_position":12,"commit_id":"1d722d7d0288162c26741cc97232093985cd5869","original_commit_id":"1d722d7d0288162c26741cc97232093985cd5869","user":{"login":"zachmullen","id":555959,"node_id":"MDQ6VXNlcjU1NTk1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/555959?v=4","gravatar_id":"","url":"https://api.github.com/users/zachmullen","html_url":"https://github.com/zachmullen","followers_url":"https://api.github.com/users/zachmullen/followers","following_url":"https://api.github.com/users/zachmullen/following{/other_user}","gists_url":"https://api.github.com/users/zachmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmullen/subscriptions","organizations_url":"https://api.github.com/users/zachmullen/orgs","repos_url":"https://api.github.com/users/zachmullen/repos","events_url":"https://api.github.com/users/zachmullen/events{/privacy}","received_events_url":"https://api.github.com/users/zachmullen/received_events","type":"User","site_admin":false},"body":"@manthey , any idea why this was happening?","created_at":"2018-08-30T20:10:05Z","updated_at":"2018-08-30T20:10:05Z","html_url":"https://github.com/girder/girder/pull/2779#discussion_r214164794","pull_request_url":"https://api.github.com/repos/girder/girder/pulls/2779","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/girder/girder/pulls/comments/214164794"},"html":{"href":"https://github.com/girder/girder/pull/2779#discussion_r214164794"},"pull_request":{"href":"https://api.github.com/repos/girder/girder/pulls/2779"}},"in_reply_to_id":214162334},"pull_request":{"url":"https://api.github.com/repos/girder/girder/pulls/2779","id":209620673,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA5NjIwNjcz","html_url":"https://github.com/girder/girder/pull/2779","diff_url":"https://github.com/girder/girder/pull/2779.diff","patch_url":"https://github.com/girder/girder/pull/2779.patch","issue_url":"https://api.github.com/repos/girder/girder/issues/2779","number":2779,"state":"open","locked":false,"title":"Job artifacts","user":{"login":"zachmullen","id":555959,"node_id":"MDQ6VXNlcjU1NTk1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/555959?v=4","gravatar_id":"","url":"https://api.github.com/users/zachmullen","html_url":"https://github.com/zachmullen","followers_url":"https://api.github.com/users/zachmullen/followers","following_url":"https://api.github.com/users/zachmullen/following{/other_user}","gists_url":"https://api.github.com/users/zachmullen/gists{/gist_id}","starred_url":"https://api.github.com/users/zachmullen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zachmullen/subscriptions","organizations_url":"https://api.github.com/users/zachmullen/orgs","repos_url":"https://api.github.com/users/zachmullen/repos","events_url":"https://api.github.com/users/zachmullen/events{/privacy}","received_events_url":"https://api.github.com/users/zachmullen/received_events","type":"User","site_admin":false},"body":"This allows files to be attached to a job. [Here](https://github.com/girder/girder_worker_utils/pull/26) is an example use of this capability.\r\n","created_at":"2018-08-20T19:33:11Z","updated_at":"2018-08-30T20:10:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e2bba02971387693c426e7963b132bd93264d2c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/girder/girder/pulls/2779/commits","review_comments_url":"https://api.github.com/repos/girder/girder/pulls/2779/comments","review_comment_url":"https://api.github.com/repos/girder/girder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/girder/girder/issues/2779/comments","statuses_url":"https://api.github.com/repos/girder/girder/statuses/1d722d7d0288162c26741cc97232093985cd5869","head":{"label":"girder:job-artifacts","ref":"job-artifacts","sha":"1d722d7d0288162c26741cc97232093985cd5869","user":{"login":"girder","id":5150517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNTA1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5150517?v=4","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"repo":{"id":11854950,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg1NDk1MA==","name":"girder","full_name":"girder/girder","owner":{"login":"girder","id":5150517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNTA1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5150517?v=4","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/girder/girder","description":"A data management platform for the web, developed by Kitware","fork":false,"url":"https://api.github.com/repos/girder/girder","forks_url":"https://api.github.com/repos/girder/girder/forks","keys_url":"https://api.github.com/repos/girder/girder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girder/girder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girder/girder/teams","hooks_url":"https://api.github.com/repos/girder/girder/hooks","issue_events_url":"https://api.github.com/repos/girder/girder/issues/events{/number}","events_url":"https://api.github.com/repos/girder/girder/events","assignees_url":"https://api.github.com/repos/girder/girder/assignees{/user}","branches_url":"https://api.github.com/repos/girder/girder/branches{/branch}","tags_url":"https://api.github.com/repos/girder/girder/tags","blobs_url":"https://api.github.com/repos/girder/girder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girder/girder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girder/girder/git/refs{/sha}","trees_url":"https://api.github.com/repos/girder/girder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girder/girder/statuses/{sha}","languages_url":"https://api.github.com/repos/girder/girder/languages","stargazers_url":"https://api.github.com/repos/girder/girder/stargazers","contributors_url":"https://api.github.com/repos/girder/girder/contributors","subscribers_url":"https://api.github.com/repos/girder/girder/subscribers","subscription_url":"https://api.github.com/repos/girder/girder/subscription","commits_url":"https://api.github.com/repos/girder/girder/commits{/sha}","git_commits_url":"https://api.github.com/repos/girder/girder/git/commits{/sha}","comments_url":"https://api.github.com/repos/girder/girder/comments{/number}","issue_comment_url":"https://api.github.com/repos/girder/girder/issues/comments{/number}","contents_url":"https://api.github.com/repos/girder/girder/contents/{+path}","compare_url":"https://api.github.com/repos/girder/girder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girder/girder/merges","archive_url":"https://api.github.com/repos/girder/girder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girder/girder/downloads","issues_url":"https://api.github.com/repos/girder/girder/issues{/number}","pulls_url":"https://api.github.com/repos/girder/girder/pulls{/number}","milestones_url":"https://api.github.com/repos/girder/girder/milestones{/number}","notifications_url":"https://api.github.com/repos/girder/girder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girder/girder/labels{/name}","releases_url":"https://api.github.com/repos/girder/girder/releases{/id}","deployments_url":"https://api.github.com/repos/girder/girder/deployments","created_at":"2013-08-02T23:55:54Z","updated_at":"2018-08-27T17:50:27Z","pushed_at":"2018-08-30T13:54:14Z","git_url":"git://github.com/girder/girder.git","ssh_url":"git@github.com:girder/girder.git","clone_url":"https://github.com/girder/girder.git","svn_url":"https://github.com/girder/girder","homepage":"http://girder.readthedocs.io","size":16411,"stargazers_count":215,"watchers_count":215,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":359,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":96,"open_issues":359,"watchers":215,"default_branch":"master"}},"base":{"label":"girder:master","ref":"master","sha":"221cf1cf1b6366f57fd02896ae1e7592a2427d1b","user":{"login":"girder","id":5150517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNTA1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5150517?v=4","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"repo":{"id":11854950,"node_id":"MDEwOlJlcG9zaXRvcnkxMTg1NDk1MA==","name":"girder","full_name":"girder/girder","owner":{"login":"girder","id":5150517,"node_id":"MDEyOk9yZ2FuaXphdGlvbjUxNTA1MTc=","avatar_url":"https://avatars2.githubusercontent.com/u/5150517?v=4","gravatar_id":"","url":"https://api.github.com/users/girder","html_url":"https://github.com/girder","followers_url":"https://api.github.com/users/girder/followers","following_url":"https://api.github.com/users/girder/following{/other_user}","gists_url":"https://api.github.com/users/girder/gists{/gist_id}","starred_url":"https://api.github.com/users/girder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/girder/subscriptions","organizations_url":"https://api.github.com/users/girder/orgs","repos_url":"https://api.github.com/users/girder/repos","events_url":"https://api.github.com/users/girder/events{/privacy}","received_events_url":"https://api.github.com/users/girder/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/girder/girder","description":"A data management platform for the web, developed by Kitware","fork":false,"url":"https://api.github.com/repos/girder/girder","forks_url":"https://api.github.com/repos/girder/girder/forks","keys_url":"https://api.github.com/repos/girder/girder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/girder/girder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/girder/girder/teams","hooks_url":"https://api.github.com/repos/girder/girder/hooks","issue_events_url":"https://api.github.com/repos/girder/girder/issues/events{/number}","events_url":"https://api.github.com/repos/girder/girder/events","assignees_url":"https://api.github.com/repos/girder/girder/assignees{/user}","branches_url":"https://api.github.com/repos/girder/girder/branches{/branch}","tags_url":"https://api.github.com/repos/girder/girder/tags","blobs_url":"https://api.github.com/repos/girder/girder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/girder/girder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/girder/girder/git/refs{/sha}","trees_url":"https://api.github.com/repos/girder/girder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/girder/girder/statuses/{sha}","languages_url":"https://api.github.com/repos/girder/girder/languages","stargazers_url":"https://api.github.com/repos/girder/girder/stargazers","contributors_url":"https://api.github.com/repos/girder/girder/contributors","subscribers_url":"https://api.github.com/repos/girder/girder/subscribers","subscription_url":"https://api.github.com/repos/girder/girder/subscription","commits_url":"https://api.github.com/repos/girder/girder/commits{/sha}","git_commits_url":"https://api.github.com/repos/girder/girder/git/commits{/sha}","comments_url":"https://api.github.com/repos/girder/girder/comments{/number}","issue_comment_url":"https://api.github.com/repos/girder/girder/issues/comments{/number}","contents_url":"https://api.github.com/repos/girder/girder/contents/{+path}","compare_url":"https://api.github.com/repos/girder/girder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/girder/girder/merges","archive_url":"https://api.github.com/repos/girder/girder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/girder/girder/downloads","issues_url":"https://api.github.com/repos/girder/girder/issues{/number}","pulls_url":"https://api.github.com/repos/girder/girder/pulls{/number}","milestones_url":"https://api.github.com/repos/girder/girder/milestones{/number}","notifications_url":"https://api.github.com/repos/girder/girder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/girder/girder/labels{/name}","releases_url":"https://api.github.com/repos/girder/girder/releases{/id}","deployments_url":"https://api.github.com/repos/girder/girder/deployments","created_at":"2013-08-02T23:55:54Z","updated_at":"2018-08-27T17:50:27Z","pushed_at":"2018-08-30T13:54:14Z","git_url":"git://github.com/girder/girder.git","ssh_url":"git@github.com:girder/girder.git","clone_url":"https://github.com/girder/girder.git","svn_url":"https://github.com/girder/girder","homepage":"http://girder.readthedocs.io","size":16411,"stargazers_count":215,"watchers_count":215,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":96,"mirror_url":null,"archived":false,"open_issues_count":359,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":96,"open_issues":359,"watchers":215,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/girder/girder/pulls/2779"},"html":{"href":"https://github.com/girder/girder/pull/2779"},"issue":{"href":"https://api.github.com/repos/girder/girder/issues/2779"},"comments":{"href":"https://api.github.com/repos/girder/girder/issues/2779/comments"},"review_comments":{"href":"https://api.github.com/repos/girder/girder/pulls/2779/comments"},"review_comment":{"href":"https://api.github.com/repos/girder/girder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/girder/girder/pulls/2779/commits"},"statuses":{"href":"https://api.github.com/repos/girder/girder/statuses/1d722d7d0288162c26741cc97232093985cd5869"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"zachmullen"}}