From 941f77f61ff040d6dcb4b897b6f5a90cbb9415bd Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Mon, 20 Jul 2015 15:33:36 -0400 Subject: [PATCH] Pass required 'client_email' to 'Client.from_service_account_p12'. --- docs/bigquery-usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bigquery-usage.rst b/docs/bigquery-usage.rst index 53a3495f193f2..9366f5e8d305d 100644 --- a/docs/bigquery-usage.rst +++ b/docs/bigquery-usage.rst @@ -38,7 +38,7 @@ Authorization / Configuration .. doctest:: >>> from gcloud import bigquery - >>> client = bigquery.Client.from_service_account_p12('/path/to/creds.p12') + >>> client = bigquery.Client.from_service_account_p12('/path/to/creds.p12', 'jrandom@example.com') - Override the project inferred from the environment by passing an explicit ``project`` to the constructor, or to either of the alternative classmethods: