You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The Google Cloud Ready - BigQuery partnership program requires partners to set a custom UserAgent. This is so Google can correctly attribute usage. However, there is no built in way to set the UserAgent in this library. It's hardcoded to sqlalchemy right now.
Describe the solution you'd like
The create_bigquery_engine method should also accept a user_agent and use that instead of the default sqlalchemy user_agent, if provided.
For now, as a workaround in my code, I'm reimplementing the create_bigquery_engine method myself and setting the client_info directly.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The Google Cloud Ready - BigQuery partnership program requires partners to set a custom UserAgent. This is so Google can correctly attribute usage. However, there is no built in way to set the UserAgent in this library. It's hardcoded to
sqlalchemy
right now.python-bigquery-sqlalchemy/sqlalchemy_bigquery/_helpers.py
Lines 27 to 69 in 0b3ab54
Describe the solution you'd like
The
create_bigquery_engine
method should also accept a user_agent and use that instead of the default sqlalchemy user_agent, if provided.For now, as a workaround in my code, I'm reimplementing the
create_bigquery_engine
method myself and setting the client_info directly.The text was updated successfully, but these errors were encountered: