| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Use a session-scope filter to ensure that a client is only constructed once per test run, saving time on authentication.
There was a problem hiding this comment.
Looks good, but my mind may have been lulled into a sense of complacency by the repetition of the word "client" in the diffs. :)
Sorry, something went wrong.
|
Thanks! Yeah, it's mostly a search-and-replace. Only manual changes were to conftest.py. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Use a session-scope filter to ensure that a client is only constructed once per test run, saving time on authentication.
We received customer feedback (internal issue 144569827) pointing out that the Client constructor and from google.cloud import bigquery lines shouldn't be commented-out. Leaving these uncommented also better matches the latest code sample best practices. To ensure this is net-neutral in terms of test time, I update the client fixture to ensure that bigquery.Client() in the code samples doesn't redo the slow authentication logic.