Skip to content

Commit

Permalink
SDK - Client - Fixed client on Windows (#2646)
Browse files Browse the repository at this point in the history
Also fixed the client for systems that do not have $HOME env var.
  • Loading branch information
Ark-kun authored and IronPan committed Nov 26, 2019
1 parent 790fe99 commit 9ad7d7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

IAM_SCOPE = 'https://www.googleapis.com/auth/iam'
OAUTH_TOKEN_URI = 'https://www.googleapis.com/oauth2/v4/token'
LOCAL_KFP_CREDENTIAL = os.path.join(os.environ['HOME'], '.config/kfp/credentials.json')
LOCAL_KFP_CREDENTIAL = os.path.expanduser('~/.config/kfp/credentials.json')

def get_gcp_access_token():
"""Get and return GCP access token for the current Application Default
Expand Down

0 comments on commit 9ad7d7d

Please sign in to comment.