Skip to content

Commit

Permalink
fix(sdk): fixes the default value for _is_refresh_token. Fixes #4189 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiaxiao Zheng authored Jul 9, 2020
1 parent 799db47 commit d3ef0dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/python/kfp/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def _load_context_setting_or_default(self):

def _refresh_api_client_token(self):
"""Refreshes the existing token associated with the kfp_api_client."""
if getattr(self, '_is_refresh_token'):
if getattr(self, '_is_refresh_token', None):
return

new_token = get_gcp_access_token()
Expand Down

0 comments on commit d3ef0dc

Please sign in to comment.