This PR fixes #11. Just like the scopes query parameter was in #10, here I added two new parameters:
endpoint - Allows the user to specify an URL-encoded string containing the endpoint URL which the underlying BigQuery library should connect to. For example http%3A%2F%2F0.0.0.0%3A9050 (which translates to http://0.0.0.0:9050).
disable_auth - If set to true, then the underlying BigQuery library will no longer look for any credentials.
User Case Description
As mentioned in #11, I'd like to use this driver to run queries against https://github.com/goccy/bigquery-emulator, which is a new emulator for BigQuery. This makes writing integration tests a lot easier.
What did this pull request do?
This PR fixes #11. Just like the
scopes
query parameter was in #10, here I added two new parameters:endpoint
- Allows the user to specify an URL-encoded string containing the endpoint URL which the underlying BigQuery library should connect to. For examplehttp%3A%2F%2F0.0.0.0%3A9050
(which translates tohttp://0.0.0.0:9050
).disable_auth
- If set totrue
, then the underlying BigQuery library will no longer look for any credentials.User Case Description
As mentioned in #11, I'd like to use this driver to run queries against https://github.com/goccy/bigquery-emulator, which is a new emulator for BigQuery. This makes writing integration tests a lot easier.