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 and Bobgy committed Jul 10, 2020
1 parent bd7f3c9 commit be47d6d
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 @@ -239,7 +239,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 be47d6d

Please sign in to comment.