Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: cache the client library objects created after the first run of the the magics (pandas engine) #81

Open
tswast opened this issue Jan 10, 2025 · 0 comments
Assignees
Labels
api: bigquery Issues related to the googleapis/python-bigquery-magics API.

Comments

@tswast
Copy link
Collaborator

tswast commented Jan 10, 2025

Currently, in the pandas engine we re-authenticate and re-create the client objects each time the magics is run. Authentication especially can take a while. Let's cache the client objects we create and use those (unless the user asks us to re-authenticate / change billing projects).

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-magics API. label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-magics API.
Projects
None yet
Development

No branches or pull requests

2 participants