镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

AutoML Tables: Passing client_info produces a a TypeError #9948

Closed

Description

@vimota

Environment details

  1. Linux.
  2. python 3.7
  3. Latest google-cloud-python master branch

Steps to reproduce

  1. 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 :)

Activity

  1. added
    priority: p2Moderately-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.
    and removed
    triage meI really want to be triaged.
    on Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-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.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions