-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- Linux.
- python 3.7
- Latest google-cloud-python master branch
Steps to reproduce
- Initializing the automl tables client with a client_info parameter throws a TypeError due to it being passed twice to the underlying clients.
Code example
client = automl_v1beta1.TablesClient(client_info=client_info)
A more thorough example in this PR (where we have to make an exception of setting the ClientInfo due to the error): https://github.com/Kaggle/docker-python/pull/671/files.
Stack trace
TypeError: type object got multiple values for keyword argument 'client_info'.
It should be a pretty easy fix, putting together the PR now :)
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.