{"action":"created","comment":{"url":"https://api.github.com/repos/mlflow/mlflow/pulls/comments/208442679","pull_request_review_id":144252349,"id":208442679,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODQ0MjY3OQ==","diff_hunk":"@@ -37,7 +37,7 @@ def _dbfs_download(output_path, endpoint, http_request_kwargs):\n \n def _dbfs_is_dir(dbfs_path, http_request_kwargs):\n     response = http_request(endpoint=GET_STATUS_ENDPOINT, method='GET',\n-                            req_body_json={'path': dbfs_path}, **http_request_kwargs)\n+                            json={'path': dbfs_path}, **http_request_kwargs)","path":"mlflow/store/dbfs_artifact_repo.py","position":5,"original_position":5,"commit_id":"b18ae28c1fc7485017afac6e46549638ba66f8cb","original_commit_id":"b18ae28c1fc7485017afac6e46549638ba66f8cb","user":{"login":"aarondav","id":1400247,"node_id":"MDQ6VXNlcjE0MDAyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1400247?v=4","gravatar_id":"","url":"https://api.github.com/users/aarondav","html_url":"https://github.com/aarondav","followers_url":"https://api.github.com/users/aarondav/followers","following_url":"https://api.github.com/users/aarondav/following{/other_user}","gists_url":"https://api.github.com/users/aarondav/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondav/subscriptions","organizations_url":"https://api.github.com/users/aarondav/orgs","repos_url":"https://api.github.com/users/aarondav/repos","events_url":"https://api.github.com/users/aarondav/events{/privacy}","received_events_url":"https://api.github.com/users/aarondav/received_events","type":"User","site_admin":false},"body":"Fix from DBFS artifactory PR and HTTP request change PR going in concurrently.","created_at":"2018-08-08T02:54:47Z","updated_at":"2018-08-08T02:54:47Z","html_url":"https://github.com/mlflow/mlflow/pull/267#discussion_r208442679","pull_request_url":"https://api.github.com/repos/mlflow/mlflow/pulls/267","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/comments/208442679"},"html":{"href":"https://github.com/mlflow/mlflow/pull/267#discussion_r208442679"},"pull_request":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/267"}}},"pull_request":{"url":"https://api.github.com/repos/mlflow/mlflow/pulls/267","id":206876403,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2ODc2NDAz","html_url":"https://github.com/mlflow/mlflow/pull/267","diff_url":"https://github.com/mlflow/mlflow/pull/267.diff","patch_url":"https://github.com/mlflow/mlflow/pull/267.patch","issue_url":"https://api.github.com/repos/mlflow/mlflow/issues/267","number":267,"state":"open","locked":false,"title":"Use Bearer auth for authenticating with tokens","user":{"login":"aarondav","id":1400247,"node_id":"MDQ6VXNlcjE0MDAyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1400247?v=4","gravatar_id":"","url":"https://api.github.com/users/aarondav","html_url":"https://github.com/aarondav","followers_url":"https://api.github.com/users/aarondav/followers","following_url":"https://api.github.com/users/aarondav/following{/other_user}","gists_url":"https://api.github.com/users/aarondav/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondav/subscriptions","organizations_url":"https://api.github.com/users/aarondav/orgs","repos_url":"https://api.github.com/users/aarondav/repos","events_url":"https://api.github.com/users/aarondav/events{/privacy}","received_events_url":"https://api.github.com/users/aarondav/received_events","type":"User","site_admin":false},"body":"We use Basic auth with `token:$token` when authenticating to the Databricks REST API. This doesn't work in certain situations which require `Bearer $token` auth instead -- fortunately, the latter is a strict superset of the former, so we can just switch to that.\r\n\r\nThe [Databricks CLI](https://github.com/databricks/databricks-cli/blob/7fa40457453f8b1ddfd7e2d186540a1bb8518f7a/databricks_cli/sdk/api_client.py#L79) uses this pattern as well.","created_at":"2018-08-08T02:31:41Z","updated_at":"2018-08-08T02:54:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf5f55813b15bd74b23267de9f4a2431a937629b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mlflow/mlflow/pulls/267/commits","review_comments_url":"https://api.github.com/repos/mlflow/mlflow/pulls/267/comments","review_comment_url":"https://api.github.com/repos/mlflow/mlflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mlflow/mlflow/issues/267/comments","statuses_url":"https://api.github.com/repos/mlflow/mlflow/statuses/b18ae28c1fc7485017afac6e46549638ba66f8cb","head":{"label":"aarondav:bear-some-tokens","ref":"bear-some-tokens","sha":"b18ae28c1fc7485017afac6e46549638ba66f8cb","user":{"login":"aarondav","id":1400247,"node_id":"MDQ6VXNlcjE0MDAyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1400247?v=4","gravatar_id":"","url":"https://api.github.com/users/aarondav","html_url":"https://github.com/aarondav","followers_url":"https://api.github.com/users/aarondav/followers","following_url":"https://api.github.com/users/aarondav/following{/other_user}","gists_url":"https://api.github.com/users/aarondav/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondav/subscriptions","organizations_url":"https://api.github.com/users/aarondav/orgs","repos_url":"https://api.github.com/users/aarondav/repos","events_url":"https://api.github.com/users/aarondav/events{/privacy}","received_events_url":"https://api.github.com/users/aarondav/received_events","type":"User","site_admin":false},"repo":{"id":138810489,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg4MTA0ODk=","name":"mlflow","full_name":"aarondav/mlflow","owner":{"login":"aarondav","id":1400247,"node_id":"MDQ6VXNlcjE0MDAyNDc=","avatar_url":"https://avatars2.githubusercontent.com/u/1400247?v=4","gravatar_id":"","url":"https://api.github.com/users/aarondav","html_url":"https://github.com/aarondav","followers_url":"https://api.github.com/users/aarondav/followers","following_url":"https://api.github.com/users/aarondav/following{/other_user}","gists_url":"https://api.github.com/users/aarondav/gists{/gist_id}","starred_url":"https://api.github.com/users/aarondav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aarondav/subscriptions","organizations_url":"https://api.github.com/users/aarondav/orgs","repos_url":"https://api.github.com/users/aarondav/repos","events_url":"https://api.github.com/users/aarondav/events{/privacy}","received_events_url":"https://api.github.com/users/aarondav/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aarondav/mlflow","description":"Open source platform for the complete machine learning lifecycle","fork":true,"url":"https://api.github.com/repos/aarondav/mlflow","forks_url":"https://api.github.com/repos/aarondav/mlflow/forks","keys_url":"https://api.github.com/repos/aarondav/mlflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aarondav/mlflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aarondav/mlflow/teams","hooks_url":"https://api.github.com/repos/aarondav/mlflow/hooks","issue_events_url":"https://api.github.com/repos/aarondav/mlflow/issues/events{/number}","events_url":"https://api.github.com/repos/aarondav/mlflow/events","assignees_url":"https://api.github.com/repos/aarondav/mlflow/assignees{/user}","branches_url":"https://api.github.com/repos/aarondav/mlflow/branches{/branch}","tags_url":"https://api.github.com/repos/aarondav/mlflow/tags","blobs_url":"https://api.github.com/repos/aarondav/mlflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aarondav/mlflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aarondav/mlflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/aarondav/mlflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aarondav/mlflow/statuses/{sha}","languages_url":"https://api.github.com/repos/aarondav/mlflow/languages","stargazers_url":"https://api.github.com/repos/aarondav/mlflow/stargazers","contributors_url":"https://api.github.com/repos/aarondav/mlflow/contributors","subscribers_url":"https://api.github.com/repos/aarondav/mlflow/subscribers","subscription_url":"https://api.github.com/repos/aarondav/mlflow/subscription","commits_url":"https://api.github.com/repos/aarondav/mlflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/aarondav/mlflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/aarondav/mlflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/aarondav/mlflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/aarondav/mlflow/contents/{+path}","compare_url":"https://api.github.com/repos/aarondav/mlflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aarondav/mlflow/merges","archive_url":"https://api.github.com/repos/aarondav/mlflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aarondav/mlflow/downloads","issues_url":"https://api.github.com/repos/aarondav/mlflow/issues{/number}","pulls_url":"https://api.github.com/repos/aarondav/mlflow/pulls{/number}","milestones_url":"https://api.github.com/repos/aarondav/mlflow/milestones{/number}","notifications_url":"https://api.github.com/repos/aarondav/mlflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aarondav/mlflow/labels{/name}","releases_url":"https://api.github.com/repos/aarondav/mlflow/releases{/id}","deployments_url":"https://api.github.com/repos/aarondav/mlflow/deployments","created_at":"2018-06-27T00:53:01Z","updated_at":"2018-07-30T20:18:55Z","pushed_at":"2018-08-08T02:54:23Z","git_url":"git://github.com/aarondav/mlflow.git","ssh_url":"git@github.com:aarondav/mlflow.git","clone_url":"https://github.com/aarondav/mlflow.git","svn_url":"https://github.com/aarondav/mlflow","homepage":"https://mlflow.org","size":3467,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"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":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mlflow:master","ref":"master","sha":"8bf671639a4e9b2c952db00dcd31990478e8886a","user":{"login":"mlflow","id":39938107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5OTM4MTA3","avatar_url":"https://avatars3.githubusercontent.com/u/39938107?v=4","gravatar_id":"","url":"https://api.github.com/users/mlflow","html_url":"https://github.com/mlflow","followers_url":"https://api.github.com/users/mlflow/followers","following_url":"https://api.github.com/users/mlflow/following{/other_user}","gists_url":"https://api.github.com/users/mlflow/gists{/gist_id}","starred_url":"https://api.github.com/users/mlflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlflow/subscriptions","organizations_url":"https://api.github.com/users/mlflow/orgs","repos_url":"https://api.github.com/users/mlflow/repos","events_url":"https://api.github.com/users/mlflow/events{/privacy}","received_events_url":"https://api.github.com/users/mlflow/received_events","type":"Organization","site_admin":false},"repo":{"id":136202695,"node_id":"MDEwOlJlcG9zaXRvcnkxMzYyMDI2OTU=","name":"mlflow","full_name":"mlflow/mlflow","owner":{"login":"mlflow","id":39938107,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5OTM4MTA3","avatar_url":"https://avatars3.githubusercontent.com/u/39938107?v=4","gravatar_id":"","url":"https://api.github.com/users/mlflow","html_url":"https://github.com/mlflow","followers_url":"https://api.github.com/users/mlflow/followers","following_url":"https://api.github.com/users/mlflow/following{/other_user}","gists_url":"https://api.github.com/users/mlflow/gists{/gist_id}","starred_url":"https://api.github.com/users/mlflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlflow/subscriptions","organizations_url":"https://api.github.com/users/mlflow/orgs","repos_url":"https://api.github.com/users/mlflow/repos","events_url":"https://api.github.com/users/mlflow/events{/privacy}","received_events_url":"https://api.github.com/users/mlflow/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mlflow/mlflow","description":"Open source platform for the machine learning lifecycle","fork":false,"url":"https://api.github.com/repos/mlflow/mlflow","forks_url":"https://api.github.com/repos/mlflow/mlflow/forks","keys_url":"https://api.github.com/repos/mlflow/mlflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mlflow/mlflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mlflow/mlflow/teams","hooks_url":"https://api.github.com/repos/mlflow/mlflow/hooks","issue_events_url":"https://api.github.com/repos/mlflow/mlflow/issues/events{/number}","events_url":"https://api.github.com/repos/mlflow/mlflow/events","assignees_url":"https://api.github.com/repos/mlflow/mlflow/assignees{/user}","branches_url":"https://api.github.com/repos/mlflow/mlflow/branches{/branch}","tags_url":"https://api.github.com/repos/mlflow/mlflow/tags","blobs_url":"https://api.github.com/repos/mlflow/mlflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mlflow/mlflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mlflow/mlflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/mlflow/mlflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mlflow/mlflow/statuses/{sha}","languages_url":"https://api.github.com/repos/mlflow/mlflow/languages","stargazers_url":"https://api.github.com/repos/mlflow/mlflow/stargazers","contributors_url":"https://api.github.com/repos/mlflow/mlflow/contributors","subscribers_url":"https://api.github.com/repos/mlflow/mlflow/subscribers","subscription_url":"https://api.github.com/repos/mlflow/mlflow/subscription","commits_url":"https://api.github.com/repos/mlflow/mlflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/mlflow/mlflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/mlflow/mlflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/mlflow/mlflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/mlflow/mlflow/contents/{+path}","compare_url":"https://api.github.com/repos/mlflow/mlflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mlflow/mlflow/merges","archive_url":"https://api.github.com/repos/mlflow/mlflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mlflow/mlflow/downloads","issues_url":"https://api.github.com/repos/mlflow/mlflow/issues{/number}","pulls_url":"https://api.github.com/repos/mlflow/mlflow/pulls{/number}","milestones_url":"https://api.github.com/repos/mlflow/mlflow/milestones{/number}","notifications_url":"https://api.github.com/repos/mlflow/mlflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mlflow/mlflow/labels{/name}","releases_url":"https://api.github.com/repos/mlflow/mlflow/releases{/id}","deployments_url":"https://api.github.com/repos/mlflow/mlflow/deployments","created_at":"2018-06-05T16:05:58Z","updated_at":"2018-08-08T02:45:45Z","pushed_at":"2018-08-08T02:54:25Z","git_url":"git://github.com/mlflow/mlflow.git","ssh_url":"git@github.com:mlflow/mlflow.git","clone_url":"https://github.com/mlflow/mlflow.git","svn_url":"https://github.com/mlflow/mlflow","homepage":"https://mlflow.org","size":3387,"stargazers_count":1915,"watchers_count":1915,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":275,"mirror_url":null,"archived":false,"open_issues_count":69,"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":275,"open_issues":69,"watchers":1915,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/267"},"html":{"href":"https://github.com/mlflow/mlflow/pull/267"},"issue":{"href":"https://api.github.com/repos/mlflow/mlflow/issues/267"},"comments":{"href":"https://api.github.com/repos/mlflow/mlflow/issues/267/comments"},"review_comments":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/267/comments"},"review_comment":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mlflow/mlflow/pulls/267/commits"},"statuses":{"href":"https://api.github.com/repos/mlflow/mlflow/statuses/b18ae28c1fc7485017afac6e46549638ba66f8cb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aarondav"}}