@@ -387,9 +387,8 @@ def copy_table(self, job_id, destination, *sources):
387387 """
388388 return CopyJob (job_id , destination , sources , client = self )
389389
390- def extract_table (
391- self , source , * destination_uris , job_config = None , job_id = None ):
392- """Construct a job for extracting a table into Cloud Storage files.
390+ def extract_table (self , source , * destination_uris , ** kwargs ):
391+ """Start a job to extract a table into Cloud Storage files.
393392
394393 See
395394 https://cloud.google.com/bigquery/docs/reference/rest/v2/jobs#configuration.extract
@@ -402,16 +401,27 @@ def extract_table(
402401 URIs of Cloud Storage file(s) into which table data is to be
403402 extracted; in format ``gs://<bucket_name>/<object_name_or_glob>``.
404403
405- :type job_config: :class:`google.cloud.bigquery.job.ExtractJobConfig`
406- :param job_config:
407- (Optional) Extra configuration options for the extract job.
404+ :type kwargs: dict
405+ :param kwargs: Additional keyword arguments.
408406
409- :type job_id: str
410- :param job_id: (Optional) The ID of the job.
407+ :Keyword Arguments:
408+ * *job_config*
409+ (:class:`google.cloud.bigquery.job.ExtractJobConfig`) --
410+ (Optional) Extra configuration options for the extract job.
411+ * *job_id* (``str``) --
412+ Additional content
413+ (Optional) The ID of the job.
411414
412415 :rtype: :class:`google.cloud.bigquery.job.ExtractJob`
413416 :returns: a new ``ExtractJob`` instance
414417 """
418+ job_config = None
419+ if 'job_config' in kwargs :
420+ job_config = kwargs ['job_config' ]
421+
422+ job_id = None
423+ if 'job_id' in kwargs :
424+ job_id = kwargs ['job_id' ]
415425 if job_id is None :
416426 job_id = str (uuid .uuid4 ())
417427
0 commit comments