Skip to content
This repository has been archived by the owner on Mar 29, 2023. It is now read-only.

Backend constructor/connect method that supports already-constructed google.cloud.bigquery.Client #128

Open
toryhaavik opened this issue May 3, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@toryhaavik
Copy link

In some cases, it's easier to construct your own bq.Client than delegate to the Backend.connect method. Couldn't there be a factory function and/or Backend constructor that takes an already-created Client?

@tswast tswast added the enhancement New feature or request label May 17, 2022
@tswast
Copy link
Collaborator

tswast commented May 17, 2022

Thanks for the request! This sounds reasonable to me. I believe the connect method is pretty flexible with regards to the arguments it accepts. I'd be open to a PR that added a bqclient (or similar) keyword argument and bypasses the current client authentication and construction logic.

@goodwanghan
Copy link

I am also looking for this feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants