From 3aae3ebacb26af2b9213ab184e69a34c2713c222 Mon Sep 17 00:00:00 2001 From: Jerjou Cheng Date: Thu, 15 Oct 2015 16:10:16 -0700 Subject: [PATCH] Update python docstring. --- bigquery/api/load_data_by_post.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bigquery/api/load_data_by_post.py b/bigquery/api/load_data_by_post.py index 102c772d37b..56b1910b3b8 100755 --- a/bigquery/api/load_data_by_post.py +++ b/bigquery/api/load_data_by_post.py @@ -35,16 +35,16 @@ # [START make_post] def load_data(schema_path, data_path, project_id, dataset_id, table_id): - """ - Creates an http POST request for loading data into - a bigquery table + """Loads the given data file into BigQuery. Args: schema_path: the path to a file containing a valid bigquery schema. see https://cloud.google.com/bigquery/docs/reference/v2/tables data_path: the name of the file to insert into the table. - - Returns: an http.request object + project_id: The project id that the table exists under. This is also + assumed to be the project id this request is to be made under. + dataset_id: The dataset id of the destination table. + table_id: The table id to load data into. """ # Create a bigquery service object, using the application's default auth credentials = GoogleCredentials.get_application_default()