python-bigquery-dataframes icon indicating copy to clipboard operation
python-bigquery-dataframes copied to clipboard

Create a bpd.options.compute.application_name that can be used to amend user-agent or equivalent, even after a session has started

Open tswast opened this issue 1 year ago • 2 comments

Some client libraries support additional HTTP headers per-request via the "metadata" parameter. For the client methods we use that don't provide such a mechanism (e.g. google-cloud-bigquery and some google-cloud-bigquery-storage APIs), we may need to improve the client library first.

tswast avatar Jul 10 '24 19:07 tswast

Note: Update the integrations notebook (see: https://github.com/googleapis/python-bigquery-dataframes/pull/835) once this issue is resolved.

tswast avatar Jul 10 '24 22:07 tswast

Note: this differs from https://github.com/googleapis/python-bigquery-dataframes/pull/117 in that it would be possible to set the user-agent temporarily, such as if a library accepts a bigframes object but doesn't initialize the bigframes session itself.

tswast avatar Jan 03 '25 16:01 tswast