Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Allow Custom User Agent in to_gbq() #807

Copy link
Copy link
Closed
@b-schmeling

Description

@b-schmeling
Issue body actions

Problem

As part of the BigQuery partnership program, my organization was requested to send our own user-agent string with our requests.

We use pandas to_gbq() in some parts of our code. However, there is no way for us to send along our own custom user agent string, as pandas sets that automatically here to "pandas-{}".format(pandas.__version__)

Solution
I would like to be able to pass a user agent string or client info object to DataFrame.to_gbq() to be prepended to the user agent string used by pandas.

Alternatives
Monkey patching

Additional context

hshi87

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the googleapis/python-bigquery-pandas API.Issues related to the googleapis/python-bigquery-pandas API.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.