Skip to content

Commit aaaaf7d

Browse files
Reference valid input formats in API docs. (#3758)
1 parent 90e6fe7 commit aaaaf7d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

bigquery/google/cloud/bigquery/table.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,9 +1045,10 @@ def upload_from_file(self,
10451045
:param file_obj: A file handle opened in binary mode for reading.
10461046
10471047
:type source_format: str
1048-
:param source_format: one of 'CSV' or 'NEWLINE_DELIMITED_JSON'.
1049-
job configuration option; see
1050-
:meth:`google.cloud.bigquery.job.LoadJob`
1048+
:param source_format: Any supported format. The full list of supported
1049+
formats is documented under the
1050+
``configuration.extract.destinationFormat`` property on this page:
1051+
https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs
10511052
10521053
:type rewind: bool
10531054
:param rewind: If True, seek to the beginning of the file handle before

0 commit comments

Comments
 (0)