From aaaaf7d635794260adee82b4b634d5cb2c7a4a8d Mon Sep 17 00:00:00 2001 From: Luke Sneeringer Date: Tue, 8 Aug 2017 12:36:20 -0700 Subject: [PATCH] Reference valid input formats in API docs. (#3758) --- bigquery/google/cloud/bigquery/table.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bigquery/google/cloud/bigquery/table.py b/bigquery/google/cloud/bigquery/table.py index ffbd47ca6c4c..c6bf5db893ab 100644 --- a/bigquery/google/cloud/bigquery/table.py +++ b/bigquery/google/cloud/bigquery/table.py @@ -1045,9 +1045,10 @@ def upload_from_file(self, :param file_obj: A file handle opened in binary mode for reading. :type source_format: str - :param source_format: one of 'CSV' or 'NEWLINE_DELIMITED_JSON'. - job configuration option; see - :meth:`google.cloud.bigquery.job.LoadJob` + :param source_format: Any supported format. The full list of supported + formats is documented under the + ``configuration.extract.destinationFormat`` property on this page: + https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs :type rewind: bool :param rewind: If True, seek to the beginning of the file handle before