Uh oh!
There was an error while loading. Please reload this page.
fix(automl): fix TypeError when passing a client_info to automl TablesClient - #9949
Conversation
vimota
commented
Dec 9, 2019
Cc'ing @helinwang as I was told you are the new maintainer of the library. |
| @@ -104,17 +104,18 @@ def __init__( | |||
| else: | |||
| client_info_.user_agent = user_agent | |||
| client_info_.gapic_version = version | |||
There was a problem hiding this comment.
Thanks for the PR!
I think it's good to encourage being explicit with the argument. E.g., prefer explicit argument than using kwargs.
Instead of removing the client_info argument, could you change the solution to removing "client_info" from kwargs after this line?
helinwang
commented
Dec 12, 2019
The check is failing on Commit message did not follow Conventional Commits, could you make change to the commit message according to the rule as well? Thanks! |
vimota
commented
Dec 12, 2019
Done! |
vimota
commented
Dec 17, 2019
Fix the formatting that failed the test. (running blacken with python version 3.6 failed with |
vimota
commented
Dec 17, 2019
@busunkim96 Is it possible to rerun the presubmits? Thanks! |
busunkim96
commented
Dec 17, 2019
@vimota Done!. @helinwang please merge when you are ready to. |
helinwang
commented
Dec 17, 2019
Thanks all! |
…sClient (#9949) * fix(automl): fix TypeError when passing a client_info to automl TablesClient The solution is to delete client_info from kwargs instead and pass named parameter.
Ensures the ClientInfo object isn't passed in twice to the underlying clients (AutoMLClient and PredictionServiceClient) from the Table Client.
Fixes#9948 🦕