{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/13577","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/13577/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/13577/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/13577/events","html_url":"https://github.com/pydata/pandas/issues/13577","id":164262241,"number":13577,"title":"GbqConnector should be able to fetch default credentials on Google Compute Engine","user":{"login":"mhaseebtariq","id":7199752,"avatar_url":"https://avatars.githubusercontent.com/u/7199752?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaseebtariq","html_url":"https://github.com/mhaseebtariq","followers_url":"https://api.github.com/users/mhaseebtariq/followers","following_url":"https://api.github.com/users/mhaseebtariq/following{/other_user}","gists_url":"https://api.github.com/users/mhaseebtariq/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaseebtariq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaseebtariq/subscriptions","organizations_url":"https://api.github.com/users/mhaseebtariq/orgs","repos_url":"https://api.github.com/users/mhaseebtariq/repos","events_url":"https://api.github.com/users/mhaseebtariq/events{/privacy}","received_events_url":"https://api.github.com/users/mhaseebtariq/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pydata/pandas/labels/IO%20Google","name":"IO Google","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-07T09:04:06Z","updated_at":"2016-07-07T09:21:04Z","closed_at":null,"body":"https://github.com/pydata/pandas/blob/master/pandas/io/gbq.py\r\n```\r\nclass GbqConnector(object):\r\n    ...\r\n    def get_user_account_credentials(self):\r\n        ...\r\n    ...\r\n```\r\nGoogle Compute Engine and Google Dataproc etc. already have default application credentials on them. Therefore, there is no need of running `OAuth2WebServerFlow` while the method `get_user_account_credentials` is being called - instead `return GoogleCredentials.get_application_default()` is all you need. This change will allow you to run `GbqConnector` on commandline-only systems on Google Compute Engine without a need of a service account json key."},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/231027244","html_url":"https://github.com/pydata/pandas/issues/13577#issuecomment-231027244","issue_url":"https://api.github.com/repos/pydata/pandas/issues/13577","id":231027244,"user":{"login":"mhaseebtariq","id":7199752,"avatar_url":"https://avatars.githubusercontent.com/u/7199752?v=3","gravatar_id":"","url":"https://api.github.com/users/mhaseebtariq","html_url":"https://github.com/mhaseebtariq","followers_url":"https://api.github.com/users/mhaseebtariq/followers","following_url":"https://api.github.com/users/mhaseebtariq/following{/other_user}","gists_url":"https://api.github.com/users/mhaseebtariq/gists{/gist_id}","starred_url":"https://api.github.com/users/mhaseebtariq/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhaseebtariq/subscriptions","organizations_url":"https://api.github.com/users/mhaseebtariq/orgs","repos_url":"https://api.github.com/users/mhaseebtariq/repos","events_url":"https://api.github.com/users/mhaseebtariq/events{/privacy}","received_events_url":"https://api.github.com/users/mhaseebtariq/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T09:21:04Z","updated_at":"2016-07-07T09:21:04Z","body":"Fix for this: https://github.com/pydata/pandas/pull/13578"}}
{"actor":{"display_login":"mhaseebtariq"}}