File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -256,3 +256,4 @@ Bug Fixes
256
256
- Bug in ``transform`` and ``filter`` when grouping on a categorical variable (:issue:`9921`)
257
257
- Bug in ``transform`` when groups are equal in number and dtype to the input index (:issue:`9700`)
258
258
- Google BigQuery connector now imports dependencies on a per-method basis.(:issue:`9713`)
259
+ - Updated BigQuery connector to no longer use deprecated ```oauth2client.tools.run()``` (:issue:`8327`)
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def get_credentials(self):
92
92
try :
93
93
from oauth2client .client import OAuth2WebServerFlow
94
94
from oauth2client .file import Storage
95
- from oauth2client .tools import run
95
+ from oauth2client .tools import run_flow , argparser
96
96
97
97
except ImportError :
98
98
raise ImportError ('Could not import Google API Client.' )
@@ -108,7 +108,7 @@ def get_credentials(self):
108
108
credentials = storage .get ()
109
109
110
110
if credentials is None or credentials .invalid or self .reauth :
111
- credentials = run (flow , storage )
111
+ credentials = run_flow (flow , storage , argparser . parse_args ([]) )
112
112
113
113
return credentials
114
114
You can’t perform that action at this time.
0 commit comments