Skip to main content

Python

Python environments that talk to BigQuery pick up the client's endpoint from the BIGQUERY_EMULATOR_HOST environment variable, so pointing it at Yuki is enough to route queries through the proxy - no code changes required:

export BIGQUERY_EMULATOR_HOST=https://<your-yuki-proxy>

Make sure this variable is set and available in the environment before your code runs.